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

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

上级 1815199d
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
border: 0; border: 0;
border-bottom: 1px solid var(--app-color-gray-250); border-bottom: 1px solid var(--app-color-gray-250);
padding: 0; padding: 0;
height: 54px; height: 53px;
>.cell { >.cell {
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -74,4 +74,9 @@ ...@@ -74,4 +74,9 @@
} }
} }
} }
.grid-column--action {
display: flex;
gap: 16px;
padding: 0 20px;
}
} }
\ No newline at end of file
...@@ -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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</span> </span>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-align: center;"> <div class="grid-column--action" style="text-align: center;">
<a v-show="scope.row.Edit.visabled" :class="{'grid-first-uiaction':scope.row.Edit.visabled && scope.row.Edit.visabled}" :style="{'pointer-events':scope.row.Edit.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Edit', $event)"> <a v-show="scope.row.Edit.visabled" :class="{'grid-first-uiaction':scope.row.Edit.visabled && scope.row.Edit.visabled}" :style="{'pointer-events':scope.row.Edit.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Edit', $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
{{$t('TBB.TEXT.*.EDIT', '编辑')}} {{$t('TBB.TEXT.*.EDIT', '编辑')}}
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</span> </span>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-align: center;"> <div class="grid-column--action" style="text-align: center;">
<a v-show="scope.row.Edit.visabled" :class="{'grid-first-uiaction':scope.row.Edit.visabled && scope.row.Edit.visabled}" :style="{'pointer-events':scope.row.Edit.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Edit', $event)"> <a v-show="scope.row.Edit.visabled" :class="{'grid-first-uiaction':scope.row.Edit.visabled && scope.row.Edit.visabled}" :style="{'pointer-events':scope.row.Edit.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Edit', $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
{{$t('TBB.TEXT.*.EDIT', '编辑')}} {{$t('TBB.TEXT.*.EDIT', '编辑')}}
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</span> </span>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-align: center;"> <div class="grid-column--action" style="text-align: center;">
<a v-show="scope.row.Edit.visabled" :class="{'grid-first-uiaction':scope.row.Edit.visabled && scope.row.Edit.visabled}" :style="{'pointer-events':scope.row.Edit.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Edit', $event)"> <a v-show="scope.row.Edit.visabled" :class="{'grid-first-uiaction':scope.row.Edit.visabled && scope.row.Edit.visabled}" :style="{'pointer-events':scope.row.Edit.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Edit', $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
{{'编辑'}} {{'编辑'}}
......
...@@ -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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -768,7 +768,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -768,7 +768,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -862,7 +862,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -862,7 +862,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -978,7 +978,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -978,7 +978,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (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);
...@@ -986,7 +986,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -986,7 +986,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</span> </span>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-align: center;"> <div class="grid-column--action" style="text-align: center;">
<a v-show="scope.row.Delete.visabled" :class="{'grid-first-uiaction':scope.row.Delete.visabled && scope.row.Delete.visabled}" :style="{'pointer-events':scope.row.Delete.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Delete', $event)"> <a v-show="scope.row.Delete.visabled" :class="{'grid-first-uiaction':scope.row.Delete.visabled && scope.row.Delete.visabled}" :style="{'pointer-events':scope.row.Delete.disabled?'none':'auto'}" @click="uiAction(scope.row, 'Delete', $event)">
<i class=''></i> <i class=''></i>
{{'删除'}} {{'删除'}}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册