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

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

上级 54b64788
......@@ -532,8 +532,16 @@ export default class MajorStateDataBase extends Vue implements ControlInterface
* @memberof MajorStateDataBase
*/
public sortModel: any[] = [
'ibizbookname',
'type',
{
codeName: 'ibizbookname',
logicName: '图书名称',
logicNameLenRes: 'DEF.LNAME.IBIZBOOKNAME'
},
{
codeName: 'type',
logicName: '图书类型',
logicNameLenRes: 'DEF.LNAME.TYPE'
},
]
/**
......
<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;"/>
<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.searchform;
const form: any = this.$refs.quicksearchform;
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: '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;
}
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: '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;
}
const arg: any = { ...opt } ;
......
......@@ -768,11 +768,31 @@ export default class UsrBase extends Vue implements ControlInterface {
* @memberof UsrBase
*/
public sortModel: any[] = [
'icon',
'type',
'ibizbookname',
'subtext',
'author',
{
codeName: 'icon',
logicName: '图标',
logicNameLenRes: 'DEF.LNAME.ICON'
},
{
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 {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2DataViewMode
* @memberof Usr2Dataviewexpbar_dataviewMode
*/
public getDataItems(): any[] {
return [
......@@ -40,17 +40,6 @@ 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',
......
......@@ -595,8 +595,16 @@ export default class Usr3Base extends Vue implements ControlInterface {
* @memberof Usr3Base
*/
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 {
* @memberof Usr4Base
*/
public sortModel: any[] = [
'author',
'booknumber',
'type',
'press',
'ibizbookname',
{
codeName: 'author',
logicName: '图书作者',
logicNameLenRes: 'DEF.LNAME.AUTHOR'
},
{
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 {
* @memberof Usr5Base
*/
public sortModel: any[] = [
'icon',
'ibizbookname',
'subtext',
{
codeName: 'icon',
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 {
* @memberof IndexTypeBase
*/
public sortModel: any[] = [
'ibizhardwarename'
{
codeName: 'ibizhardwarename',
logicName: '名称',
logicNameLenRes: 'DEF.LNAME.IBIZHARDWARE.IBIZHARDWARENAME'
}
]
/**
......
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
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;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
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;
}
......@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
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;
}
if(!arg){
......@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
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;
}
......
......@@ -504,14 +504,46 @@ export default class CardNavigationBase extends Vue implements ControlInterface
* @memberof CardNavigationBase
*/
public sortModel: any[] = [
'memo',
'detailnum',
'ibizordername',
'ibizcustomerid',
'amount',
'ibizcustomername',
'wfstep',
'orderstate',
{
codeName: 'memo',
logicName: '备注',
logicNameLenRes: 'DEF.LNAME.MEMO'
},
{
codeName: 'detailnum',
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 {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
* @memberof IBIZOrderPickupGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -431,20 +431,6 @@ export default class MainBase extends Vue implements ControlInterface {
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 {
if (!this.fetchAction) {
this.$Notice.error({
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;
}
......@@ -1119,7 +1105,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
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;
}
......@@ -1233,7 +1219,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
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;
}
if(!arg){
......@@ -2166,7 +2152,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2175,7 +2161,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2251,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
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;
}
......
......@@ -105,21 +105,6 @@ export default class MainModel {
prop: 'n_ibizordername_like',
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',
......
......@@ -460,7 +460,11 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
* @memberof IndexTypeBase
*/
public sortModel: any[] = [
'ibizuniproductname'
{
codeName: 'ibizuniproductname',
logicName: '产品名称',
logicNameLenRes: 'DEF.LNAME.IBIZUNIPRODUCT.IBIZUNIPRODUCTNAME'
}
]
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册