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

jackwang 部署微服务应用

上级 d5043503
......@@ -234,4 +234,25 @@ export class HROrgAddressV_001Base extends GridView9Base {
}
/**
* 是否单选
*
* @protected
* @type {boolean}
* @memberof HROrgAddressV_001Base
*/
protected isGridSingleSelect: boolean = true;
/**
* 表格行数据默认激活模式
* 0 不激活
* 1 单击激活
* 2 双击激活
*
* @protected
* @type {(0 | 1 | 2)}
* @memberof HROrgAddressV_001Base
*/
protected gridRowActiveMode: 0 | 1 | 2 = 0;
}
\ No newline at end of file
......@@ -287,4 +287,25 @@ export class HROrgContactV_001Base extends GridView9Base {
}
/**
* 是否单选
*
* @protected
* @type {boolean}
* @memberof HROrgContactV_001Base
*/
protected isGridSingleSelect: boolean = true;
/**
* 表格行数据默认激活模式
* 0 不激活
* 1 单击激活
* 2 双击激活
*
* @protected
* @type {(0 | 1 | 2)}
* @memberof HROrgContactV_001Base
*/
protected gridRowActiveMode: 0 | 1 | 2 = 0;
}
\ No newline at end of file
......@@ -10,7 +10,7 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="300"
:height="800"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
......
......@@ -110,7 +110,7 @@ export class PART_V_001PortletBase extends MainControlBase {
return this.height+'px';
}
} else {
return '300px';
return '800px';
}
}
......
......@@ -76,6 +76,14 @@ export class MainGridBase extends GridControlBase {
*/
protected localStorageTag: string = 'hrorgaddress_main_grid';
/**
* 是否支持分页
*
* @type {boolean}
* @memberof MainGridBase
*/
public isEnablePagingBar: boolean = false;
/**
* 所有列成员
*
......
......@@ -79,40 +79,5 @@
<el-table-column></el-table-column>
</template>
</el-table>
<row class='grid-pagination' v-show="items.length > 0">
<page class='pull-right' @on-change="pageOnChange($event)"
@on-page-size-change="onPageSizeChange($event)"
:transfer="true" :total="totalRecord"
show-sizer :current="curPage" :page-size="limit"
:page-size-opts="[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]" show-elevator show-total>
<span>
<span class="page-column">
<poptip transfer placement="top-start">
<i-button icon="md-menu">{{$t('app.gridpage.choicecolumns')}}</i-button>
<div slot="content">
<template v-for="col in allColumns">
<div :key="col.name"><el-checkbox v-model="col.show" @change="onColChange()">{{$t(col.langtag)}}</el-checkbox></div>
</template>
</div>
</poptip>
</span>
<span v-if="selections.length > 0" class="batch-toolbar">
</span>
<span class="page-button"><i-button icon="md-refresh" :title="$t('app.gridpage.refresh')" @click="pageRefresh()"></i-button></span>&nbsp;
<span>
{{$t('app.gridpage.show')}}&nbsp;
<span>
<template v-if="items.length === 1">
1
</template>
<template v-else>
<span>{{(curPage - 1) * limit + 1}}&nbsp;-&nbsp;{{totalRecord > curPage * limit ? curPage * limit : totalRecord}}</span>
</template>
</span>&nbsp;
{{$t('app.gridpage.records')}},{{$t('app.gridpage.totle')}}&nbsp;{{totalRecord}}&nbsp;{{$t('app.gridpage.records')}}
</span>
</span>
</page>
</row>
</i-form>
</div>
\ No newline at end of file
......@@ -76,6 +76,14 @@ export class MainGridBase extends GridControlBase {
*/
protected localStorageTag: string = 'hrorgcontact_main_grid';
/**
* 是否支持分页
*
* @type {boolean}
* @memberof MainGridBase
*/
public isEnablePagingBar: boolean = false;
/**
* 所有列成员
*
......
......@@ -79,40 +79,5 @@
<el-table-column></el-table-column>
</template>
</el-table>
<row class='grid-pagination' v-show="items.length > 0">
<page class='pull-right' @on-change="pageOnChange($event)"
@on-page-size-change="onPageSizeChange($event)"
:transfer="true" :total="totalRecord"
show-sizer :current="curPage" :page-size="limit"
:page-size-opts="[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]" show-elevator show-total>
<span>
<span class="page-column">
<poptip transfer placement="top-start">
<i-button icon="md-menu">{{$t('app.gridpage.choicecolumns')}}</i-button>
<div slot="content">
<template v-for="col in allColumns">
<div :key="col.name"><el-checkbox v-model="col.show" @change="onColChange()">{{$t(col.langtag)}}</el-checkbox></div>
</template>
</div>
</poptip>
</span>
<span v-if="selections.length > 0" class="batch-toolbar">
</span>
<span class="page-button"><i-button icon="md-refresh" :title="$t('app.gridpage.refresh')" @click="pageRefresh()"></i-button></span>&nbsp;
<span>
{{$t('app.gridpage.show')}}&nbsp;
<span>
<template v-if="items.length === 1">
1
</template>
<template v-else>
<span>{{(curPage - 1) * limit + 1}}&nbsp;-&nbsp;{{totalRecord > curPage * limit ? curPage * limit : totalRecord}}</span>
</template>
</span>&nbsp;
{{$t('app.gridpage.records')}},{{$t('app.gridpage.totle')}}&nbsp;{{totalRecord}}&nbsp;{{$t('app.gridpage.records')}}
</span>
</span>
</page>
</row>
</i-form>
</div>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册