提交 32fc684a 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码

上级 8974f3bb
...@@ -103,7 +103,7 @@ export default class EditViewEngine extends ViewEngine { ...@@ -103,7 +103,7 @@ export default class EditViewEngine extends ViewEngine {
public onFormLoad(arg: any): void { public onFormLoad(arg: any): void {
this.view.model.dataInfo = Object.is(arg.srfuf, '1') ? (this.majorPSDEField?arg[this.majorPSDEField]:arg.srfmajortext) : this.view.$t('app.local.new'); this.view.model.dataInfo = Object.is(arg.srfuf, '1') ? (this.majorPSDEField?arg[this.majorPSDEField]:arg.srfmajortext) : this.view.$t('app.local.new');
this.setTabCaption(this.view.model.dataInfo,Object.is(arg.srfuf, '0')); this.setTabCaption(this.view.model.dataInfo);
const newdata: boolean = !Object.is(arg.srfuf, '1'); const newdata: boolean = !Object.is(arg.srfuf, '1');
this.calcToolbarItemState(newdata); this.calcToolbarItemState(newdata);
} }
...@@ -117,7 +117,7 @@ export default class EditViewEngine extends ViewEngine { ...@@ -117,7 +117,7 @@ export default class EditViewEngine extends ViewEngine {
public onFormSave(arg: any): void { public onFormSave(arg: any): void {
this.view.model.dataInfo = Object.is(arg.srfuf, '1') ? (this.majorPSDEField?arg[this.majorPSDEField]:arg.srfmajortext) : this.view.$t('app.local.new'); this.view.model.dataInfo = Object.is(arg.srfuf, '1') ? (this.majorPSDEField?arg[this.majorPSDEField]:arg.srfmajortext) : this.view.$t('app.local.new');
this.setTabCaption(this.view.model.dataInfo,Object.is(arg.srfuf, '0')); this.setTabCaption(this.view.model.dataInfo);
const newdata: boolean = !Object.is(arg.srfuf, '1'); const newdata: boolean = !Object.is(arg.srfuf, '1');
this.calcToolbarItemState(newdata); this.calcToolbarItemState(newdata);
this.view.$emit('save',arg); this.view.$emit('save',arg);
...@@ -245,21 +245,15 @@ export default class EditViewEngine extends ViewEngine { ...@@ -245,21 +245,15 @@ export default class EditViewEngine extends ViewEngine {
* *
* @memberof EditViewEngine * @memberof EditViewEngine
*/ */
public setTabCaption(info: string,isNew:boolean): void { public setTabCaption(info: string): void {
let viewdata: any = this.view.model; let viewdata: any = this.view.model;
let index:number = viewdata.srfTitle.indexOf("-"); if (viewdata && info && !Object.is(info, '') && this.view.$tabPageExp && (viewdata.srfTitle.indexOf(" - ") === -1)) {
if (viewdata && info && !Object.is(info, '')) { this.view.$tabPageExp.setCurPageCaption(viewdata.srfTitle, viewdata.srfTitle, info);
if(index !== -1){
viewdata.srfTitle = viewdata.srfTitle.substr(0,index);
}
if(this.view.$tabPageExp){
this.view.$tabPageExp.setCurPageCaption(this.view.$t(viewdata.srfTitle), this.view.$t(viewdata.srfTitle), info);
}
if(this.view.$route){ if(this.view.$route){
this.view.$route.meta.info = info; this.view.$route.meta.info = info;
} }
this.view.model.srfTitle = `${this.view.$t(viewdata.srfTitle)}-${viewdata.dataInfo}`; this.view.model.srfTitle = `${this.view.$t(viewdata.srfTitle)} - ${viewdata.dataInfo}`;
this.view.initNavDataWithRoute(null,isNew); this.view.$emit('viewModelChange', this.view.model.srfTitle);
} }
} }
......
...@@ -367,15 +367,6 @@ export default class MDViewEngine extends ViewEngine { ...@@ -367,15 +367,6 @@ export default class MDViewEngine extends ViewEngine {
* @memberof MDViewEngine * @memberof MDViewEngine
*/ */
public MDCtrlLoad(args: any[]) { public MDCtrlLoad(args: any[]) {
let cacheArray:Array<any> = [];
if(args.length >0){
args.forEach((item:any) =>{
cacheArray.push({srfkey:item.srfkey,srfmajortext:item.srfmajortext});
})
}
this.view.viewCacheData = cacheArray;
this.view.initNavDataWithRoute(cacheArray);
this.view.initNavDataWithTab(cacheArray,false);
if (this.view) { if (this.view) {
this.view.$emit('viewload', args); this.view.$emit('viewload', args);
} }
......
...@@ -444,7 +444,7 @@ export class AccountInfoBase extends TabExpViewBase { ...@@ -444,7 +444,7 @@ export class AccountInfoBase extends TabExpViewBase {
* *
* @memberof AccountInfoBase * @memberof AccountInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.account){ if(this.context.account){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -409,7 +409,7 @@ export class ContactInfoBase extends TabExpViewBase { ...@@ -409,7 +409,7 @@ export class ContactInfoBase extends TabExpViewBase {
* *
* @memberof ContactInfoBase * @memberof ContactInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.contact){ if(this.context.contact){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -409,7 +409,7 @@ export class CampaignInfoBase extends TabExpViewBase { ...@@ -409,7 +409,7 @@ export class CampaignInfoBase extends TabExpViewBase {
* *
* @memberof CampaignInfoBase * @memberof CampaignInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.campaign){ if(this.context.campaign){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -97,7 +97,7 @@ export class IBizListInfoBase extends TabExpViewBase { ...@@ -97,7 +97,7 @@ export class IBizListInfoBase extends TabExpViewBase {
* *
* @memberof IBizListInfoBase * @memberof IBizListInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.ibizlist){ if(this.context.ibizlist){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -97,7 +97,7 @@ export class CompetitorInfoBase extends TabExpViewBase { ...@@ -97,7 +97,7 @@ export class CompetitorInfoBase extends TabExpViewBase {
* *
* @memberof CompetitorInfoBase * @memberof CompetitorInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.competitor){ if(this.context.competitor){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -613,7 +613,7 @@ export class LeadInfoBase extends TabExpViewBase { ...@@ -613,7 +613,7 @@ export class LeadInfoBase extends TabExpViewBase {
* *
* @memberof LeadInfoBase * @memberof LeadInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.lead){ if(this.context.lead){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -511,7 +511,7 @@ export class OpportunityInfoBase extends TabExpViewBase { ...@@ -511,7 +511,7 @@ export class OpportunityInfoBase extends TabExpViewBase {
* *
* @memberof OpportunityInfoBase * @memberof OpportunityInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.opportunity){ if(this.context.opportunity){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -97,7 +97,7 @@ export class QuoteInfoBase extends TabExpViewBase { ...@@ -97,7 +97,7 @@ export class QuoteInfoBase extends TabExpViewBase {
* *
* @memberof QuoteInfoBase * @memberof QuoteInfoBase
*/ */
public loadModel(): void { public async loadModel(): Promise<void> {
if(this.context.quote){ if(this.context.quote){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{ this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
......
...@@ -86,6 +86,24 @@ export class View_AccountInfoAllPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_AccountInfoAllPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_AccountInfoAllBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
<layout_dashboard_sysportlet2_list_itempanel <div class='panel-container' style="">
:viewState="viewState" <row class="app-layoutpanel" style="height:100%;">
:viewparams="viewparams" <div v-show="detailsModel.container1.visible" class="app-layoutpanel-container" style="">
:context="context" <div style="height:100%;display: flex;">
:inputData="item"
@panelDataChange="($event)=>{onPanelDataChange(item,$event)}" <div v-show="detailsModel.activitytypecode.visible" style="" class="app-layoutpanel-field ">
name="dashboard_sysportlet2_list_itempanel" <div class="item-field">
ref='dashboard_sysportlet2_list_itempanel'>
</layout_dashboard_sysportlet2_list_itempanel> <div class="item-field-content">
\ No newline at end of file <span>{{data.activitytypecode}}</span>
</div>
</div>
</div>
<div v-show="detailsModel.subject.visible" style="" class="app-layoutpanel-field ">
<div class="item-field">
<div class="item-field-content">
<span>{{data.subject}}</span>
</div>
</div>
</div>
</div>
</div>
</row>
</div>
\ No newline at end of file
...@@ -202,6 +202,24 @@ export class List_ByParentKeyPortletBase extends MainControlBase { ...@@ -202,6 +202,24 @@ export class List_ByParentKeyPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof List_ByParentKeyBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_CampaginPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_CampaginPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_CampaginBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_HeadPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_HeadPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_HeadBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_InfoPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_InfoPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_InfoBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_ManagerPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_ManagerPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ManagerBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_SchedulePortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_SchedulePortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ScheduleBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_CompAbstractPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_CompAbstractPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_CompAbstractBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -115,6 +115,24 @@ export class View_ConAbsPortletBase extends MainControlBase { ...@@ -115,6 +115,24 @@ export class View_ConAbsPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConAbsBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -115,6 +115,24 @@ export class View_ConAddPortletBase extends MainControlBase { ...@@ -115,6 +115,24 @@ export class View_ConAddPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConAddBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -115,6 +115,24 @@ export class View_ConBookPortletBase extends MainControlBase { ...@@ -115,6 +115,24 @@ export class View_ConBookPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConBookBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -115,6 +115,24 @@ export class View_ConMarPortletBase extends MainControlBase { ...@@ -115,6 +115,24 @@ export class View_ConMarPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConMarBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -115,6 +115,24 @@ export class View_ConPerPortletBase extends MainControlBase { ...@@ -115,6 +115,24 @@ export class View_ConPerPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ConPerBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -115,6 +115,24 @@ export class View_ListAbsPortletBase extends MainControlBase { ...@@ -115,6 +115,24 @@ export class View_ListAbsPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_ListAbsBase
*/
get getHeight(): any{
if(!this.$util.isEmpty(this.height) && !this.$util.isNumberNaN(this.height)){
if(this.height == 0){
return 'auto';
} else {
return this.height+'px';
}
} else {
return '300px';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_LeadComPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_LeadComPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadComBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_LeadConPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_LeadConPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadConBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_LeadDetailPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_LeadDetailPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadDetailBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_LeadMarketPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_LeadMarketPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_LeadMarketBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
<layout_listexpbar_list_itempanel <div class='panel-container' style="">
:viewState="viewState" <row class="app-layoutpanel" style="height:100%;">
:viewparams="viewparams" <i-col v-show="detailsModel.container1.visible" style="" class="app-layoutpanel-container">
:context="context" <row style="height:100%;">
:inputData="item"
@panelDataChange="($event)=>{onPanelDataChange(item,$event)}" <i-col v-show="detailsModel.opportunityname.visible" :md="{ span: 24, offset: 0 }" style="font-size:20px;font-weight:bold" class="app-layoutpanel-field list-title">
name="listexpbar_list_itempanel" <div class="item-field">
ref='listexpbar_list_itempanel'>
</layout_listexpbar_list_itempanel> <div class="item-field-content">
\ No newline at end of file <span>{{data.opportunityname}}</span>
</div>
</div>
</i-col>
<i-col v-show="detailsModel.parentaccountname.visible" :md="{ span: 24, offset: 0 }" style="" class="app-layoutpanel-field">
<div class="item-field">
<div class="item-field-content">
<span>{{data.parentaccountname}}</span>
</div>
</div>
</i-col>
<i-col v-show="detailsModel.parentcontactname.visible" :md="{ span: 24, offset: 0 }" style="" class="app-layoutpanel-field">
<div class="item-field">
<div class="item-field-content">
<span>{{data.parentcontactname}}</span>
</div>
</div>
</i-col>
</row>
</i-col>
</row>
</div>
\ No newline at end of file
...@@ -86,6 +86,24 @@ export class View_OppProPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_OppProPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_OppProBase
*/
get getHeight(): any{
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';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
...@@ -86,6 +86,24 @@ export class View_QuoAbsPortletBase extends MainControlBase { ...@@ -86,6 +86,24 @@ export class View_QuoAbsPortletBase extends MainControlBase {
return {}; return {};
} }
/**
* 获取高度
*
* @returns {any[]}
* @memberof View_QuoAbsBase
*/
get getHeight(): any{
if(!this.$util.isEmpty(this.height) && !this.$util.isNumberNaN(this.height)){
if(this.height == 0){
return 'auto';
} else {
return this.height+'px';
}
} else {
return '300px';
}
}
/** /**
* vue 生命周期 * vue 生命周期
* *
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册