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

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

上级 362ce090
<template> <template>
<div class="fullscren"> <div class="fullscren">
<Icon :type="fullScren == true ? 'ios-contract' : 'ios-expand'" color="#aaa" size="22" @click="handleScreen"/> <Icon :type="fullScren == true ? 'ios-contract' : 'ios-expand'" size="22" @click="handleScreen"/>
</div> </div>
</template> </template>
<script lang = 'ts'> <script lang = 'ts'>
......
<template> <template>
<div class="lockscren"> <div class="lockscren">
<span> <span>
<Icon type="md-lock" size="22" color="#aaa" @click="handleLock"/> <Icon type="md-lock" size="22" @click="handleLock"/>
<el-dialog :title="this.$t('components.lockScren.title')" <el-dialog :title="this.$t('components.lockScren.title')"
:visible.sync="box" :visible.sync="box"
width="30%" width="30%"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
font-size: 19px; font-size: 19px;
padding-top: 2px; padding-top: 2px;
padding-right: 2px; padding-right: 2px;
color: #aaa;
cursor: pointer; cursor: pointer;
} }
......
...@@ -5,9 +5,7 @@ ...@@ -5,9 +5,7 @@
popper-class='app-app-theme' popper-class='app-app-theme'
placement='bottom-end' placement='bottom-end'
:width="Object.is($i18n.locale, 'zh-CN') ? 180 : 250"> :width="Object.is($i18n.locale, 'zh-CN') ? 180 : 250">
<a> <icon class='app-theme-icon' type='md-settings' :size="22" />
<icon class='app-theme-icon' type='md-settings' :size="22" />
</a>
<template slot='content'> <template slot='content'>
<div class='app-theme-color'> <div class='app-theme-color'>
<template v-for="(theme, index) in defaultThemes"> <template v-for="(theme, index) in defaultThemes">
......
.index-view-layout-top { .index-view-layout--top {
.header-right { .index-view-layout-header {
height: 64px;
display: flex; display: flex;
align-items: center;
justify-content: space-between; justify-content: space-between;
align-items: center;
background-color: var(--app-color-black);
color: var(--app-color-gray-white);
.header__left {
font-size: 21px;
font-weight: 700;
margin-left: 50px;
.app-icon {
width: 36px;
height: 37px;
margin-right: 6px;
}
}
.header__right {
display: flex;
align-items: center;
}
}
.index-view-layout-content {
height: calc(100% - 64px);
overflow: auto;
padding: 20px 38px 0 38px;
background-color: var(--app-color-gray-gray-400);
} }
} }
\ No newline at end of file
<template> <template>
<layout class="index_view index-view-layout-top"> <layout class="index-view-layout index-view-layout--top">
<header class="index_header"> <header class="index-view-layout-header">
<div class="header-left"> <div class="header__left">
<slot name="headerLeft" /> <slot name="headerLeft" />
</div> </div>
<div class="header-center"> <div class="header__center">
<slot name="headerCenter" /> <slot name="headerCenter" />
</div> </div>
<div class="header-right"> <div class="header__right">
<slot name="headerRight" /> <slot name="headerRight" />
</div> </div>
</header> </header>
<content class="app-horizontal-layout"> <content class="index-view-layout-content">
<slot name="navPos" /> <slot name="navPos" />
</content> </content>
<footer class="layout-footer-center">
<slot name="footer"></slot>
</footer>
</layout> </layout>
</template> </template>
<script lang="ts"> <script lang="ts">
......
<template> <template>
<app-index-view-layout-top :class="{ [themeClasses]: true, 'app-index-view2': true }" :style="themeStyle"> <app-index-view-layout-top :class="{ [themeClasses]: true, 'app-index-view2': true }" :style="themeStyle">
<template #headerLeft> <template #headerLeft>
<div class="page-logo"> <img class="app-icon" src="../../../assets/img/logo.png" />
<img src="../../../assets/img/logo.png" height="32" /> <span class="app-caption">{{$t(model.srfCaption)}}</span>
<span style="display: inline-block;margin-left: 10px;font-size: 22px;">{{$t(model.srfCaption)}}</span> </template>
</div> <template #headerRight>
<div style="margin-left: 50px;"> <view_appmenu
<view_appmenu
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -24,9 +23,6 @@ ...@@ -24,9 +23,6 @@
ref='appmenu' ref='appmenu'
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_appmenu> </view_appmenu>
</div>
</template>
<template #headerRight>
<app-lang style='font-size: 15px;padding: 0 10px;'></app-lang> <app-lang style='font-size: 15px;padding: 0 10px;'></app-lang>
<app-orgsector></app-orgsector> <app-orgsector></app-orgsector>
<app-user></app-user> <app-user></app-user>
......
<template> <template>
<app-index-view-layout-top :class="{ [themeClasses]: true, 'index': true }" :style="themeStyle"> <app-index-view-layout-top :class="{ [themeClasses]: true, 'index': true }" :style="themeStyle">
<template #headerLeft> <template #headerLeft>
<div class="page-logo"> <img class="app-icon" src="../../../assets/img/logo.png" />
<img src="../../../assets/img/logo.png" height="32" /> <span class="app-caption">{{$t(model.srfCaption)}}</span>
<span style="display: inline-block;margin-left: 10px;font-size: 22px;">{{$t(model.srfCaption)}}</span> </template>
</div> <template #headerRight>
<div > <view_appmenu
<view_appmenu
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -24,9 +23,6 @@ ...@@ -24,9 +23,6 @@
ref='appmenu' ref='appmenu'
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_appmenu> </view_appmenu>
</div>
</template>
<template #headerRight>
<app-lang style='font-size: 15px;padding: 0 10px;'></app-lang> <app-lang style='font-size: 15px;padding: 0 10px;'></app-lang>
<app-orgsector></app-orgsector> <app-orgsector></app-orgsector>
<app-user></app-user> <app-user></app-user>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
@import '../theme/default.theme.less'; @import '../theme/default.theme.less';
@import './app-code-list.less'; @import './app-code-list.less';
@import './var.css'; @import './var.css';
@import './var.less';
#app { #app {
height: 100vh; height: 100vh;
......
:root {
// 安永黑
--app-color-black: #232425;
// 安永灰1
--app-color-gray-100: #747480;
// 安永灰2
--app-color-gray-gray-200: #C4C4CD;
// 安永灰2 50%
--app-color-gray-gray-250: #E1E1E6;
// 安永灰4
--app-color-gray-gray-400: #F6F6FA;
// 安永白
--app-color-gray-white: #FFFFFF;
// 安永蓝
--app-color-gray-blue: #188CE5;
// 安永黄
--app-color-gray-yellow: #FFE600;
// 安永红
--app-color-gray-red: #B9251C;
// 安永橙
--app-color-gray-orange: #FF810A;
// 安永绿
--app-color-gray-green: #2DB757;
// 安永蓝绿
--app-color-gray-blue-green: #27ACAA;
}
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
<span class="quick-toolbar"> <span class="quick-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -41,18 +41,18 @@ ...@@ -41,18 +41,18 @@
<span class="batch-toolbar"> <span class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
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) {
...@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -604,9 +604,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -604,9 +604,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKListView * @memberof IBIZBOOKUsr4ListView_layout
*/ */
public listviewlist_quicktoolbarModels: any = { public usr4listview_layoutlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
}; };
...@@ -616,9 +616,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -616,9 +616,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKListView * @memberof IBIZBOOKUsr4ListView_layout
*/ */
public listviewlist_batchtoolbarModels: any = { public usr4listview_layoutlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -841,7 +841,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -841,7 +841,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -971,7 +971,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -971,7 +971,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
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: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -1076,7 +1076,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1076,7 +1076,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
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: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (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);
...@@ -1084,7 +1084,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1084,7 +1084,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
} }
}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.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (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){
......
...@@ -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: 'IBIZBOOKListView' + (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: 'IBIZBOOKListView' + (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 } ;
......
...@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -736,7 +736,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};
...@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -830,7 +830,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[] = [];
...@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -946,7 +946,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);
...@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -954,7 +954,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){
......
...@@ -12,30 +12,6 @@ ...@@ -12,30 +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" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -59,6 +35,18 @@ ...@@ -59,6 +35,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",
...@@ -71,6 +59,18 @@ ...@@ -71,6 +59,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -42,30 +42,6 @@ ...@@ -42,30 +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" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -89,6 +65,18 @@ ...@@ -89,6 +65,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",
...@@ -101,6 +89,18 @@ ...@@ -101,6 +89,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -5575,6 +5575,16 @@ ...@@ -5575,6 +5575,16 @@
"refTag2" : "FIELD", "refTag2" : "FIELD",
"templCode" : "<div :style=\"{color: 'red'}\">{{store.layoutData.srfmajortext}}</div>", "templCode" : "<div :style=\"{color: 'red'}\">{{store.layoutData.srfmajortext}}</div>",
"templCode2" : "import { IPanelAbility, IPanelController, IPanelStore } from \"@/core\";\r\n\r\ninterface Props {\r\n controller: IPanelController<IPanelStore, IPanelAbility>\r\n}\r\nconst props = defineProps<Props>();\r\nconst store: IPanelStore = props.controller.getStore();" "templCode2" : "import { IPanelAbility, IPanelController, IPanelStore } from \"@/core\";\r\n\r\ninterface Props {\r\n controller: IPanelController<IPanelStore, IPanelAbility>\r\n}\r\nconst props = defineProps<Props>();\r\nconst store: IPanelStore = props.controller.getStore();"
}, {
"name" : "红色滑动条",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "UsrPFPlugin1206927630"
},
"pluginCode" : "UsrPFPlugin1206927630",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"refMode" : "EDITORSTYPE",
"templCode" : "<div>红色滑动条</div>"
}, { }, {
"name" : "红色背景项", "name" : "红色背景项",
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
...@@ -222,6 +222,16 @@ ...@@ -222,6 +222,16 @@
"refTag2" : "FIELD", "refTag2" : "FIELD",
"templCode" : "<div :style=\"{color: 'red'}\">{{store.layoutData.srfmajortext}}</div>", "templCode" : "<div :style=\"{color: 'red'}\">{{store.layoutData.srfmajortext}}</div>",
"templCode2" : "import { IPanelAbility, IPanelController, IPanelStore } from \"@/core\";\r\n\r\ninterface Props {\r\n controller: IPanelController<IPanelStore, IPanelAbility>\r\n}\r\nconst props = defineProps<Props>();\r\nconst store: IPanelStore = props.controller.getStore();" "templCode2" : "import { IPanelAbility, IPanelController, IPanelStore } from \"@/core\";\r\n\r\ninterface Props {\r\n controller: IPanelController<IPanelStore, IPanelAbility>\r\n}\r\nconst props = defineProps<Props>();\r\nconst store: IPanelStore = props.controller.getStore();"
}, {
"name" : "红色滑动条",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "UsrPFPlugin1206927630"
},
"pluginCode" : "UsrPFPlugin1206927630",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"refMode" : "EDITORSTYPE",
"templCode" : "<div>红色滑动条</div>"
}, { }, {
"name" : "红色背景项", "name" : "红色背景项",
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册