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

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

上级 f08c4c28
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (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 };
...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (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 } ;
...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (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});
...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (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 });
...@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (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];
......
...@@ -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 });
...@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1781,7 +1781,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];
......
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase 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 };
...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase 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 } ;
...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase 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});
...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase 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 });
...@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase 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];
......
...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface { ...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean} * @type {Boolean}
* @memberof GuideBase * @memberof GuideBase
*/ */
public isShowStepBar: Boolean = false ; public isShowStepBar: Boolean = true ;
/** /**
* 获取多项数据 * 获取多项数据
......
...@@ -31,30 +31,14 @@ ...@@ -31,30 +31,14 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template v-if="actualIsOpenEdit && !row.children"> <span>{{row.ibizbookname}}</span>
<app-form-item :error="gridItemsModel[$index][column.property].error">
<input-box
:disabled="getColumnDisabled(row,column.property)"
v-model="row[column.property]"
style=""
type="text"
unit=""
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</input-box>
</app-form-item>
</template>
<template v-if="!actualIsOpenEdit">
<app-span name='ibizbookname' editorType="TEXTBOX" :value="row.ibizbookname" dataType="TEXT" precision="0" ></app-span>
</template>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('author')"> <template v-if="getColumnState('author')">
<el-table-column show-overflow-tooltip :prop="'author'" :label="$t('DEF.LNAME.AUTHOR', '图书作者')" :width="200" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'author'" :label="$t('DEF.LNAME.AUTHOR', '图书作者')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header redToolBar">
{{$t('DEF.LNAME.AUTHOR', '图书作者')}} {{$t('DEF.LNAME.AUTHOR', '图书作者')}}
</span> </span>
</template> </template>
...@@ -765,7 +749,7 @@ export default class RowEditBase extends Vue implements ControlInterface { ...@@ -765,7 +749,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
* *
* @memberof RowEditBase * @memberof RowEditBase
*/ */
public defaultUpdateItems:Array<any> =[,,,,,,,,]; public defaultUpdateItems:Array<any> =[,,,,,,,];
/** /**
* 选中行数据 * 选中行数据
...@@ -849,7 +833,7 @@ export default class RowEditBase extends Vue implements ControlInterface { ...@@ -849,7 +833,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
langtag: 'DEF.LNAME.IBIZBOOKNAME', langtag: 'DEF.LNAME.IBIZBOOKNAME',
show: true, show: true,
unit: 'PX', unit: 'PX',
isEnableRowEdit: true, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{ {
...@@ -1001,7 +985,6 @@ export default class RowEditBase extends Vue implements ControlInterface { ...@@ -1001,7 +985,6 @@ export default class RowEditBase extends Vue implements ControlInterface {
*/ */
public getGridRowModel(){ public getGridRowModel(){
return { return {
ibizbookname: new FormItemModel(),
author: new FormItemModel(), author: new FormItemModel(),
type: new FormItemModel(), type: new FormItemModel(),
press: new FormItemModel(), press: new FormItemModel(),
...@@ -1032,10 +1015,6 @@ export default class RowEditBase extends Vue implements ControlInterface { ...@@ -1032,10 +1015,6 @@ export default class RowEditBase extends Vue implements ControlInterface {
*/ */
public rules(){ public rules(){
return { return {
ibizbookname: [
{ required: true, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `${this.$t('DEF.LNAME.IBIZBOOKNAME', '图书名称')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: true, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `${this.$t('DEF.LNAME.IBIZBOOKNAME', '图书名称')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
],
author: [ author: [
{ required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `${this.$t('DEF.LNAME.AUTHOR', '图书作者')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `${this.$t('DEF.LNAME.AUTHOR', '图书作者')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `${this.$t('DEF.LNAME.AUTHOR', '图书作者')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: false, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `${this.$t('DEF.LNAME.AUTHOR', '图书作者')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
......
...@@ -31,7 +31,6 @@ export default class RowEditModel { ...@@ -31,7 +31,6 @@ export default class RowEditModel {
name: 'ibizbookname', name: 'ibizbookname',
prop: 'ibizbookname', prop: 'ibizbookname',
dataType: 'TEXT', dataType: 'TEXT',
isEditable:true
}, },
{ {
name: 'author', name: 'author',
......
...@@ -214,3 +214,5 @@ ...@@ -214,3 +214,5 @@
} }
// this is less // this is less
.redToolBar {color:white;background-color:red;}
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
...@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -70,11 +70,6 @@ export default class Usr4Model { ...@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
...@@ -95,7 +95,6 @@ ...@@ -95,7 +95,6 @@
"rTMOSFilePath" : "psdegridcols/ibizbookname", "rTMOSFilePath" : "psdegridcols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableRowEdit" : true,
"enableSort" : true "enableSort" : true
}, { }, {
"align" : "LEFT", "align" : "LEFT",
...@@ -106,10 +105,16 @@ ...@@ -106,10 +105,16 @@
"rTMOSFilePath" : "pslanguageres/Auto2038" "rTMOSFilePath" : "pslanguageres/Auto2038"
}, },
"caption" : "图书作者", "caption" : "图书作者",
"getCellPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"codeName" : "author", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "author",
"excelCaption" : "图书作者", "excelCaption" : "图书作者",
"getHeaderPSSysCss" : {
"cssName" : "redToolBar"
},
"mOSFilePath" : "psdegridcols/author", "mOSFilePath" : "psdegridcols/author",
"name" : "author", "name" : "author",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
...@@ -247,7 +252,7 @@ ...@@ -247,7 +252,7 @@
"codeName" : "Lendouttime" "codeName" : "Lendouttime"
}, },
"rTMOSFilePath" : "psdegridcols/lendouttime", "rTMOSFilePath" : "psdegridcols/lendouttime",
"valueFormat" : "YYYY-MM-DD", "valueFormat" : "%1$tY-%1$tm-%1$td",
"width" : 200, "width" : 200,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableRowEdit" : true, "enableRowEdit" : true,
...@@ -322,7 +327,7 @@ ...@@ -322,7 +327,7 @@
"codeName" : "Booknumber" "codeName" : "Booknumber"
} }
}, { }, {
"format" : "YYYY-MM-DD", "format" : "%1$tY-%1$tm-%1$td",
"dataType" : 5, "dataType" : 5,
"name" : "lendouttime", "name" : "lendouttime",
"getPSAppDEField" : { "getPSAppDEField" : {
...@@ -371,24 +376,6 @@ ...@@ -371,24 +376,6 @@
"name" : "srfmstag" "name" : "srfmstag"
} ], } ],
"getPSDEGridEditItems" : [ { "getPSDEGridEditItems" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"enableCond" : 3,
"ignoreInput" : 0,
"mOSFilePath" : "psdegridcols/ibizbookname",
"name" : "ibizbookname",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "ibizbookname"
},
"rTMOSFilePath" : "psdegridcols/ibizbookname",
"allowEmpty" : false
}, {
"caption" : "图书作者", "caption" : "图书作者",
"codeName" : "author", "codeName" : "author",
"enableCond" : 3, "enableCond" : 3,
......
...@@ -553,7 +553,6 @@ ...@@ -553,7 +553,6 @@
"rTMOSFilePath" : "psdegridcols/ibizbookname", "rTMOSFilePath" : "psdegridcols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableRowEdit" : true,
"enableSort" : true "enableSort" : true
}, { }, {
"align" : "LEFT", "align" : "LEFT",
...@@ -564,10 +563,16 @@ ...@@ -564,10 +563,16 @@
"rTMOSFilePath" : "pslanguageres/Auto2038" "rTMOSFilePath" : "pslanguageres/Auto2038"
}, },
"caption" : "图书作者", "caption" : "图书作者",
"getCellPSSysCss" : {
"cssName" : "deepskyblueToolBar"
},
"codeName" : "author", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "author",
"excelCaption" : "图书作者", "excelCaption" : "图书作者",
"getHeaderPSSysCss" : {
"cssName" : "redToolBar"
},
"mOSFilePath" : "psdegridcols/author", "mOSFilePath" : "psdegridcols/author",
"name" : "author", "name" : "author",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
...@@ -705,7 +710,7 @@ ...@@ -705,7 +710,7 @@
"codeName" : "Lendouttime" "codeName" : "Lendouttime"
}, },
"rTMOSFilePath" : "psdegridcols/lendouttime", "rTMOSFilePath" : "psdegridcols/lendouttime",
"valueFormat" : "YYYY-MM-DD", "valueFormat" : "%1$tY-%1$tm-%1$td",
"width" : 200, "width" : 200,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableRowEdit" : true, "enableRowEdit" : true,
...@@ -780,7 +785,7 @@ ...@@ -780,7 +785,7 @@
"codeName" : "Booknumber" "codeName" : "Booknumber"
} }
}, { }, {
"format" : "YYYY-MM-DD", "format" : "%1$tY-%1$tm-%1$td",
"dataType" : 5, "dataType" : 5,
"name" : "lendouttime", "name" : "lendouttime",
"getPSAppDEField" : { "getPSAppDEField" : {
...@@ -829,24 +834,6 @@ ...@@ -829,24 +834,6 @@
"name" : "srfmstag" "name" : "srfmstag"
} ], } ],
"getPSDEGridEditItems" : [ { "getPSDEGridEditItems" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"enableCond" : 3,
"ignoreInput" : 0,
"mOSFilePath" : "psdegridcols/ibizbookname",
"name" : "ibizbookname",
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "ibizbookname"
},
"rTMOSFilePath" : "psdegridcols/ibizbookname",
"allowEmpty" : false
}, {
"caption" : "图书作者", "caption" : "图书作者",
"codeName" : "author", "codeName" : "author",
"enableCond" : 3, "enableCond" : 3,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册