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

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

上级 c2bbc473
<template> <template>
<app-edit-view-layout class="deeditview ibizsample0001-sf6-edit-view view-no-caption view-no-toolbar" :view-default-usage="viewDefaultUsage"> <app-edit-view-layout class="deeditview ibizsample0001-sf6-edit-view view-no-toolbar" :view-default-usage="viewDefaultUsage">
<template #headerTop> <template #headerTop>
<div class='view-top-messages'> <div class='view-top-messages'>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup66' viewname='ibizsample0001sf6editview'></app-alert-group> </div> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup66' viewname='ibizsample0001sf6editview'></app-alert-group> </div>
</template> </template>
<template #headerLeft> <template #headerLeft>
<app-caption :openType="openType" :caption="model.srfCaption"></app-caption>
</template> </template>
<template #headerRight> <template #headerRight>
</template> </template>
......
...@@ -1846,7 +1846,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1846,7 +1846,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1898,7 +1898,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1898,7 +1898,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1969,7 +1969,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1969,7 +1969,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2077,7 +2077,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2077,7 +2077,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -2275,7 +2275,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2275,7 +2275,7 @@ export default class MainBase 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: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
<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 } ;
......
...@@ -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: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailGridView9" + (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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailGridView9' + (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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<template> <template>
<div class="event-legends"> <div class="event-legends">
<div :class="{'event-lengend':true, 'item1':true, 'event-disabled':!isShowlegend.item1}" @click="legendTrigger('item1')"> <div :class="{'event-lengend':true, 'item1':true, 'event-disabled':!isShowlegend.item1}" @click="legendTrigger('item1')">
<div class="lengend-icon" style="background:;"></div> <div class="lengend-icon" style="background:rgba(188, 190, 197, 1);"></div>
<span style="color:;">订单</span> <span style="color:rgba(235, 219, 47, 1);">订单</span>
</div> </div>
</div> </div>
<FullCalendar <FullCalendar
......
...@@ -54,8 +54,8 @@ export default class OrderCalendarNavigationService extends ControlService { ...@@ -54,8 +54,8 @@ export default class OrderCalendarNavigationService extends ControlService {
{ {
itemName : '订单', itemName : '订单',
itemType : 'item1', itemType : 'item1',
color : '', color : 'rgba(188, 190, 197, 1)',
textColor : '', textColor : 'rgba(235, 219, 47, 1)',
}, },
]; ];
......
...@@ -12,18 +12,6 @@ ...@@ -12,18 +12,6 @@
"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" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -59,6 +47,18 @@ ...@@ -59,6 +47,18 @@
"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" : "借出日期", "caption" : "借出日期",
"codeName" : "lendouttime", "codeName" : "lendouttime",
......
...@@ -355,6 +355,7 @@ ...@@ -355,6 +355,7 @@
}, },
"treeNodeType" : "DE", "treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : false, "hasPSDETreeNodeRSs" : false,
"appendCaption" : true,
"appendPNodeId" : false, "appendPNodeId" : false,
"disableSelect" : false, "disableSelect" : false,
"enableCheck" : false, "enableCheck" : false,
......
...@@ -24,10 +24,12 @@ ...@@ -24,10 +24,12 @@
"name" : "calendarexpbar_load" "name" : "calendarexpbar_load"
} ], } ],
"getPSSysCalendarItems" : [ { "getPSSysCalendarItems" : [ {
"bKColor" : "rgba(188, 190, 197, 1)",
"getBeginTimePSAppDEField" : { "getBeginTimePSAppDEField" : {
"name" : "STARTTIME", "name" : "STARTTIME",
"codeName" : "StartTime" "codeName" : "StartTime"
}, },
"color" : "rgba(235, 219, 47, 1)",
"getEndTimePSAppDEField" : { "getEndTimePSAppDEField" : {
"name" : "ENDTIME", "name" : "ENDTIME",
"codeName" : "EndTime" "codeName" : "EndTime"
......
...@@ -42,18 +42,6 @@ ...@@ -42,18 +42,6 @@
"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" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -89,6 +77,18 @@ ...@@ -89,6 +77,18 @@
"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" : "借出日期", "caption" : "借出日期",
"codeName" : "lendouttime", "codeName" : "lendouttime",
......
...@@ -457,6 +457,7 @@ ...@@ -457,6 +457,7 @@
}, },
"treeNodeType" : "DE", "treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : false, "hasPSDETreeNodeRSs" : false,
"appendCaption" : true,
"appendPNodeId" : false, "appendPNodeId" : false,
"disableSelect" : false, "disableSelect" : false,
"enableCheck" : false, "enableCheck" : false,
......
...@@ -491,6 +491,7 @@ ...@@ -491,6 +491,7 @@
}, },
"treeNodeType" : "DE", "treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : false, "hasPSDETreeNodeRSs" : false,
"appendCaption" : true,
"appendPNodeId" : false, "appendPNodeId" : false,
"disableSelect" : false, "disableSelect" : false,
"enableCheck" : false, "enableCheck" : false,
......
...@@ -743,6 +743,7 @@ ...@@ -743,6 +743,7 @@
}, },
"treeNodeType" : "DE", "treeNodeType" : "DE",
"hasPSDETreeNodeRSs" : false, "hasPSDETreeNodeRSs" : false,
"appendCaption" : true,
"appendPNodeId" : false, "appendPNodeId" : false,
"disableSelect" : false, "disableSelect" : false,
"enableCheck" : false, "enableCheck" : false,
......
...@@ -224,10 +224,12 @@ ...@@ -224,10 +224,12 @@
"id" : "calendarexpbar_calendar" "id" : "calendarexpbar_calendar"
}, },
"getPSSysCalendarItems" : [ { "getPSSysCalendarItems" : [ {
"bKColor" : "rgba(188, 190, 197, 1)",
"getBeginTimePSAppDEField" : { "getBeginTimePSAppDEField" : {
"name" : "STARTTIME", "name" : "STARTTIME",
"codeName" : "StartTime" "codeName" : "StartTime"
}, },
"color" : "rgba(235, 219, 47, 1)",
"getEndTimePSAppDEField" : { "getEndTimePSAppDEField" : {
"name" : "ENDTIME", "name" : "ENDTIME",
"codeName" : "EndTime" "codeName" : "EndTime"
......
...@@ -224,10 +224,12 @@ ...@@ -224,10 +224,12 @@
"id" : "calendarexpbar_calendar" "id" : "calendarexpbar_calendar"
}, },
"getPSSysCalendarItems" : [ { "getPSSysCalendarItems" : [ {
"bKColor" : "rgba(188, 190, 197, 1)",
"getBeginTimePSAppDEField" : { "getBeginTimePSAppDEField" : {
"name" : "STARTTIME", "name" : "STARTTIME",
"codeName" : "StartTime" "codeName" : "StartTime"
}, },
"color" : "rgba(235, 219, 47, 1)",
"getEndTimePSAppDEField" : { "getEndTimePSAppDEField" : {
"name" : "ENDTIME", "name" : "ENDTIME",
"codeName" : "EndTime" "codeName" : "EndTime"
......
...@@ -2123,7 +2123,6 @@ ...@@ -2123,7 +2123,6 @@
"enableQuickSearch" : true, "enableQuickSearch" : true,
"enableRowEdit" : true, "enableRowEdit" : true,
"enableSearch" : true, "enableSearch" : true,
"expandSearchForm" : true,
"rowEditDefault" : true, "rowEditDefault" : true,
"modelid" : "1a7578c0b5f8a1107d0fe9c2dc51f314", "modelid" : "1a7578c0b5f8a1107d0fe9c2dc51f314",
"modeltype" : "PSAPPDEVIEW" "modeltype" : "PSAPPDEVIEW"
......
...@@ -1573,7 +1573,6 @@ ...@@ -1573,7 +1573,6 @@
"viewType" : "DEEDITVIEW", "viewType" : "DEEDITVIEW",
"xDataControlName" : "form", "xDataControlName" : "form",
"enableDP" : true, "enableDP" : true,
"showCaptionBar" : false,
"showDataInfoBar" : true, "showDataInfoBar" : true,
"modelid" : "8c29a026990571a81823c5d28a7a65be", "modelid" : "8c29a026990571a81823c5d28a7a65be",
"modeltype" : "PSAPPDEVIEW", "modeltype" : "PSAPPDEVIEW",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册