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

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

上级 6e261f2d
...@@ -282,6 +282,14 @@ ...@@ -282,6 +282,14 @@
{"type":"app", {"type":"app",
"appCodeName":"Web", "appCodeName":"Web",
"appName":"演示应用", "appName":"演示应用",
"portletCodeName": "db_rawitem2",
"portletName": "插件测试",
"groupCodeName":"Ungroup",
"groupName":"(未分类)",
},
{"type":"app",
"appCodeName":"Web",
"appName":"演示应用",
"portletCodeName": "db_rawitem1", "portletCodeName": "db_rawitem1",
"portletName": "直接内容测试", "portletName": "直接内容测试",
"groupCodeName":"Ungroup", "groupCodeName":"Ungroup",
......
...@@ -292,6 +292,14 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => { ...@@ -292,6 +292,14 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
{"type":"app", {"type":"app",
"appCodeName":"Web", "appCodeName":"Web",
"appName":"演示应用", "appName":"演示应用",
"portletCodeName": "db_rawitem2",
"portletName": "插件测试",
"groupCodeName":"Ungroup",
"groupName":"(未分类)",
},
{"type":"app",
"appCodeName":"Web",
"appName":"演示应用",
"portletCodeName": "db_rawitem1", "portletCodeName": "db_rawitem1",
"portletName": "直接内容测试", "portletName": "直接内容测试",
"groupCodeName":"Ungroup", "groupCodeName":"Ungroup",
......
...@@ -21,6 +21,23 @@ ...@@ -21,6 +21,23 @@
</span> </span>
</card> </card>
</i-col> </i-col>
<i-col :md="{ span: 24, offset: 0 }">
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
<span>
<view_db_rawitem2
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:height="0"
:width="0"
name="db_rawitem2"
ref='db_rawitem2'
@closeview="closeView($event)">
</view_db_rawitem2>
</span>
</card>
</i-col>
<i-col :md="{ span: 24, offset: 0 }"> <i-col :md="{ span: 24, offset: 0 }">
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10"> <card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
<span> <span>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import AppPortalView2_dbBase from './app-portal-view2-db-dashboard-base.vue'; import AppPortalView2_dbBase from './app-portal-view2-db-dashboard-base.vue';
import view_db_appmenu1 from '@widgets/app/icon-menu-portlet/icon-menu-portlet.vue'; import view_db_appmenu1 from '@widgets/app/icon-menu-portlet/icon-menu-portlet.vue';
import view_db_rawitem2 from '@widgets/app/db-rawitem2-portlet/db-rawitem2-portlet.vue';
import view_db_rawitem1 from '@widgets/app/db-rawitem1-portlet/db-rawitem1-portlet.vue'; import view_db_rawitem1 from '@widgets/app/db-rawitem1-portlet/db-rawitem1-portlet.vue';
import view_db_appview1 from '@widgets/app/db-appview1-portlet/db-appview1-portlet.vue'; import view_db_appview1 from '@widgets/app/db-appview1-portlet/db-appview1-portlet.vue';
import view_db_sysportlet1 from '@widgets/ibizappview/app-view-list-portlet/app-view-list-portlet.vue'; import view_db_sysportlet1 from '@widgets/ibizappview/app-view-list-portlet/app-view-list-portlet.vue';
...@@ -11,6 +12,7 @@ import view_db_sysportlet1 from '@widgets/ibizappview/app-view-list-portlet/app- ...@@ -11,6 +12,7 @@ import view_db_sysportlet1 from '@widgets/ibizappview/app-view-list-portlet/app-
@Component({ @Component({
components: { components: {
view_db_appmenu1, view_db_appmenu1,
view_db_rawitem2,
view_db_rawitem1, view_db_rawitem1,
view_db_appview1, view_db_appview1,
view_db_sysportlet1, view_db_sysportlet1,
......
<template>
<div class='portlet db-rawitem2 ' :style="{}">
<p class='portlet-title'>
<span>
插件测试
</span>
</p>
<el-divider class="divider"></el-divider>
<div class="portlet-with-title">
<div style="display: flex;justify-content: space-between;align-items: center;height: 100%;">
<div style="height: 80px;width: 80px;display: flex;align-items: center;justify-content: center;">
<i class="el-icon-share" style="font-size: 50px;color: #36a3f7"/>
</div>
<div style="height: 80px;width: 165px;display: flex;flex-direction: column;justify-content: center;text-align: center;">
<div style="margin-bottom: 8px;color: rgba(0,0,0,.45);font-size: 18px;font-weight: 700;">
<span> 支持部件总数 </span>
</div>
<div style="color: #666;font-size: 24px;font-weight: 700;">
<span>10</span>
</div>
</div>
</div>
</div>
</div>
</template>
// 基于 @CONTROL/门户部件/CONTROL-BASE.vue.ftl 生成
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util, ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import Db_rawitem2Service from './db-rawitem2-portlet-service';
import UIService from '@/uiservice/ui-service';
import { Environment } from '@/environments/environment';
@Component({
components: {
}
})
export default class Db_rawitem2Base extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof Db_rawitem2Base
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Db_rawitem2Base
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof Db_rawitem2Base
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof Db_rawitem2Base
*/
@Prop() public viewparams!: any;
/**
* 视图操作参数
*
* @type {*}
* @memberof Db_rawitem2Base
*/
@Prop() public viewCtx!: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Db_rawitem2Base
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Db_rawitem2Base
*/
public getControlType(): string {
return 'PORTLET'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof Db_rawitem2Base
*/
public counterServiceArray:Array<any> = [];
/**
* 建构部件服务对象
*
* @type {Db_rawitem2Service}
* @memberof Db_rawitem2Base
*/
public service: Db_rawitem2Service = new Db_rawitem2Service({ $store: this.$store });
/**
* 关闭视图
*
* @param {any} args
* @memberof Db_rawitem2Base
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof Db_rawitem2Base
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 长度
*
* @type {number}
* @memberof Db_rawitem2Base
*/
@Prop() public height?: number;
/**
* 宽度
*
* @type {number}
* @memberof Db_rawitem2Base
*/
@Prop() public width?: number;
/**
* 门户部件类型
*
* @type {string}
* @memberof Db_rawitem2Base
*/
public portletType: string = 'rawitem';
/**
* 部件类型
*
* @type {string}
* @memberof Db_rawitem2Base
*/
public controlType: string = 'PORTLET';
/**
* 视图默认使用
*
* @type {string}
* @memberof Db_rawitem2Base
*/
@Inject({from:'navModel',default: 'tab'})
public navModel!:string;
/**
* 界面行为模型数据
*
* @memberof Db_rawitem2Base
*/
public uiactionModel: any = {
}
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof Db_rawitem2Base
*/
@Prop({default: false})public isAdaptiveSize!: boolean;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Db_rawitem2Base
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Db_rawitem2Base
*/
public getData(): any {
return {};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof Db_rawitem2Base
*/
get getHeight(){
if(!this.$util.isEmpty(this.height) && !this.$util.isNumberNaN(this.height)){
if(this.height == 0){
return 'auto';
}else{
return this.height+'px';
}
}else{
return 'auto';
}
}
/**
* 刷新
*
* @memberof Db_rawitem2Base
*/
public refresh(args?: any) {
}
/**
* vue 生命周期
*
* @memberof Db_rawitem2Base
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof Db_rawitem2Base
*/
public afterCreated(){
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if(Object.is(tag, "all-portlet") && Object.is(action,'loadmodel')){
this.calcUIActionAuthState(data);
}
if (!Object.is(tag, this.name)) {
return;
}
const refs: any = this.$refs;
Object.keys(refs).forEach((_name: string) => {
this.viewState.next({ tag: _name, action: action, data: data });
});
});
}
}
/**
* vue 生命周期
*
* @memberof Db_rawitem2Base
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Db_rawitem2Base
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
/**
* 计算界面行为权限
*
* @memberof Db_rawitem2Base
*/
public calcUIActionAuthState(data:any = {}) {
// 如果是操作栏,不计算权限
if(this.portletType && Object.is('actionbar', this.portletType)) {
return;
}
let _this: any = this;
let uiservice: any = _this.appUIService ? _this.appUIService : new UIService();
if(_this.uiactionModel){
ViewTool.calcActionItemAuthState(data,_this.uiactionModel,uiservice);
}
}
}
</script>
<style lang='less'>
@import './db-rawitem2-portlet.less';
</style>
// 基于 @CONTROL/门户部件/MODEL.ts.ftl 生成
/**
* Db_rawitem2 部件模型
*
* @export
* @class Db_rawitem2Model
*/
export default class Db_rawitem2Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Db_rawitem2Model
*/
public getDataItems(): any[] {
return [
]
}
}
// 基于 @CONTROL/门户部件/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* Db_rawitem2 部件服务对象
*
* @export
* @class Db_rawitem2Service
*/
export default class Db_rawitem2Service extends ControlService {
}
// 基于 @CONTROL/门户部件/CONTROL.less.ftl 生成
// this is less
.portlet{
height: 100%;
width: 100%;
> .portlet-title{
padding: 14px 16px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
height: 52px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: space-between;
width:100%;
line-height: 22px;
font-size: 16px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #304265;
font-weight: 600;
i{
margin-right: 5px;
}
>.portlet-action{
margin-left: 12px;
font-size: 14px;
>a{
padding: 6px;
}
}
}
> .divider {
margin: 0px 0px 11px 0px;
}
> .portlet-with-title{
width:100%;
height:calc(100% - 58px);
overflow:auto;
padding:0px 12px;
}
> .portlet-without-title{
width:100%;
height:100%;
overflow:auto;
padding:0px 12px;
}
.app-charts{
height: 100%!important;
}
.toolbar-container {
button{
margin: 6px 0px 4px 16px;
}
.ivu-badge{
.ivu-badge-count{
top: 0;
}
}
}
// 日历视图样式特殊处理(防止刷新时日历大小发生变化并且门户部件要定高)
.decalendarview {
height: 100%;
>.view-card {
height: 100%;
}
}
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Db_rawitem2Base from './db-rawitem2-portlet-base.vue';
// 基于 @CONTROL/门户部件/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Db_rawitem2 extends Db_rawitem2Base {
}
</script>
...@@ -150,7 +150,6 @@ export default class IconMenuBase extends Vue implements ControlInterface { ...@@ -150,7 +150,6 @@ export default class IconMenuBase extends Vue implements ControlInterface {
/** /**
* 长度 * 长度
* *
......
...@@ -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: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_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: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,6 +40,17 @@ export default class Usr2Model { ...@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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,6 +70,11 @@ export default class Usr4Model { ...@@ -70,6 +70,11 @@ 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'
},
{ {
......
...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -964,7 +964,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;
} }
...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1123,7 +1123,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;
} }
...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1237,7 +1237,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){
...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2132,7 +2132,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);
...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2141,7 +2141,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);
...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2217,7 +2217,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;
} }
......
...@@ -282,10 +282,6 @@ ...@@ -282,10 +282,6 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "PFPlugin9"
},
"portletType" : "APPMENU", "portletType" : "APPMENU",
"rTMOSFilePath" : "pssysapps/Web/psappportalviews/AppPortalView2/psappviewctrls/db_appmenu1", "rTMOSFilePath" : "pssysapps/Web/psappportalviews/AppPortalView2/psappviewctrls/db_appmenu1",
"title" : "图标菜单", "title" : "图标菜单",
...@@ -297,6 +293,38 @@ ...@@ -297,6 +293,38 @@
"showTitleBar" : true, "showTitleBar" : true,
"modelid" : "446325986d8400c859090c8dba30546f", "modelid" : "446325986d8400c859090c8dba30546f",
"modeltype" : "PSSYSDBPART" "modeltype" : "PSSYSDBPART"
}, {
"codeName" : "db_rawitem2",
"contentType" : "RAW",
"controlType" : "PORTLET",
"mOSFilePath" : "pssysdbparts/db_rawitem2",
"name" : "db_rawitem2",
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "db_rawitem2"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "测试2131",
"contentType" : "RAW",
"name" : "db_rawitem2"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "PFPlugin9"
},
"portletType" : "RAWITEM",
"rTMOSFilePath" : "pssysapps/Web/psappportalviews/AppPortalView2/psappviewctrls/db_rawitem2",
"rawContent" : "测试2131",
"title" : "插件测试",
"showTitleBar" : true
}, { }, {
"codeName" : "db_rawitem1", "codeName" : "db_rawitem1",
"contentType" : "RAW", "contentType" : "RAW",
......
...@@ -11429,10 +11429,6 @@ ...@@ -11429,10 +11429,6 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "PFPlugin9"
},
"portletType" : "APPMENU", "portletType" : "APPMENU",
"rTMOSFilePath" : "pssysapps/Web/psappportalviews/AppPortalView2/psappviewctrls/db_appmenu1", "rTMOSFilePath" : "pssysapps/Web/psappportalviews/AppPortalView2/psappviewctrls/db_appmenu1",
"title" : "图标菜单", "title" : "图标菜单",
...@@ -11448,6 +11444,53 @@ ...@@ -11448,6 +11444,53 @@
"rTMOSFilePath" : "pssysapps/Web/psappportlets/iconMenu", "rTMOSFilePath" : "pssysapps/Web/psappportlets/iconMenu",
"enableAppDashboard" : true, "enableAppDashboard" : true,
"enableDEDashboard" : false "enableDEDashboard" : false
}, {
"codeName" : "db_rawitem2",
"mOSFilePath" : "pssysapps/Web/psappportlets/db_rawitem2",
"name" : "插件测试",
"getPSAppPortletCat" : {
"codeName" : "Ungroup",
"mOSFilePath" : "pssysapps/Web/psappportletcats/Ungroup",
"name" : "(未分类)",
"rTMOSFilePath" : "pssysapps/Web/psappportletcats/Ungroup",
"ungroup" : true
},
"getPSControl" : {
"codeName" : "db_rawitem2",
"contentType" : "RAW",
"controlType" : "PORTLET",
"mOSFilePath" : "pssysdbparts/db_rawitem2",
"name" : "db_rawitem2",
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "db_rawitem2"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "测试2131",
"contentType" : "RAW",
"name" : "db_rawitem2"
},
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "PFPlugin9"
},
"portletType" : "RAWITEM",
"rTMOSFilePath" : "pssysapps/Web/psappportalviews/AppPortalView2/psappviewctrls/db_rawitem2",
"rawContent" : "测试2131",
"title" : "插件测试",
"showTitleBar" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappportlets/db_rawitem2",
"enableAppDashboard" : true,
"enableDEDashboard" : false
}, { }, {
"codeName" : "db_rawitem1", "codeName" : "db_rawitem1",
"mOSFilePath" : "pssysapps/Web/psappportlets/db_rawitem1", "mOSFilePath" : "pssysapps/Web/psappportlets/db_rawitem1",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册