CONTROL-BASE.vue.ftl 18.9 KB
Newer Older
tony001's avatar
tony001 committed
1
<#if ctrl.getPortletType() != 'CONTAINER'>
tony001's avatar
tony001 committed
2
<#ibizinclude>../@MACRO/CONTROL/LANGBASE.vue.ftl</#ibizinclude>
3 4 5 6 7
<#macro renderUiaction>
  <#if ctrl.getPSUIActionGroup?? && ctrl.getPSUIActionGroup()?? && ctrl.getPSUIActionGroup().getPSUIActionGroupDetails()??>
    <#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
<span class="portlet-action">
    <#list UIActionDetails as uiactiondetail>
8
      <#if !uiactiondetail.isShowCaption()>
9 10
  <tooltip :transfer="true" :max-width="600">
      </#if>
11 12 13 14 15
      <#if uiactiondetail.getPSUIAction?? && uiactiondetail.getPSUIAction()?? && uiactiondetail.getPSUIAction().getCodeName?? && uiactiondetail.getPSUIAction().getCodeName()??>
        <#assign uiactionname = uiactiondetail.getPSUIAction().getCodeName()?lower_case />
      <#else>
        <#assign uiactionname = uiactiondetail.getName()?lower_case />
      </#if>
16
    <a @click="uiAction('${uiactiondetail.getName()?lower_case}', $event)" v-show="uiactionModel['${uiactionname}'].visabled" :disabled="uiactionModel['${uiactionname}'].disabled">
17 18 19 20 21 22 23 24 25 26 27
      <#if uiactiondetail.getPSUIAction()??>
        <#if uiactiondetail.isShowIcon()>
          <#if uiactiondetail.getPSUIAction().getPSSysImage()??>
            <#assign viewimg=uiactiondetail.getPSUIAction().getPSSysImage()/>
            <#if viewimg.getCssClass() != ''>
      <i class="${viewimg.getCssClass()}" />
            <#else>
      <img src="${viewimg.getImagePath()}" />
            </#if>
          </#if>
        </#if>
28
    <#--  <#if uiactiondetail.isShowCaption()><span><#if langbase??>{{$t('${langbase}.uiactions.${uiactiondetail.getPSUIAction().getUIActionTag()?lower_case}')}}<#else>${uiactiondetail.getPSUIAction().getCaption()}</#if></span></#if>  -->
29 30 31 32
        <#if uiactiondetail.isShowCaption()>
      <span>${uiactiondetail.getPSUIAction().getCaption()}</span>
        </#if>
      </#if>
33
    </a>
34
      <#if !uiactiondetail.isShowCaption()>
35 36 37
    <div slot='content'>${uiactiondetail.getPSUIAction().getCaption()}</div>
  </tooltip>
      </#if>
38 39 40 41
    </#list>
</span>
  </#if>
</#macro>
42
<template>
43
    <div class='portlet ${srffilepath2(ctrl.getCodeName())} <#if ctrl.getPSSysCss()??> ${ctrl.getPSSysCss().getCssName()}</#if>' :style="{<#if (ctrl.getHeight?? && ctrl.getHeight() gt 0)>'height': isAdaptiveSize ? 'calc(100% - 16px)' : getHeight,</#if><#if (ctrl.getWidth?? && ctrl.getWidth() gt 0)>'width': isAdaptiveSize ? 'calc(100% - 16px)' : (width ? width+'px' :'${ctrl.getWidth()?c}px')</#if>}">
44
    <#if ctrl.getPortletType?? && ctrl.getPortletType()??><#t>
tony001's avatar
tony001 committed
45 46
      <#--  视图  -->
      <#if ctrl.getPortletType() == 'VIEW' && ctrl.getPortletPSAppView?? && ctrl.getPortletPSAppView()??><#t>
47 48
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
tony001's avatar
tony001 committed
49 50
            <span>
            <#if ctrl.getPSSysImage()??><i class='<#assign img=ctrl.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i></#if>
51
            ${ctrl.getTitle()}
tony001's avatar
tony001 committed
52
            </span>
53
            <#assign render_uiaction><@renderUiaction /></#assign>
54
            <@ibizindent blank=12>
55
            ${render_uiaction}<#t>
56
            </@ibizindent>
57
        </p>
58
        <el-divider class="divider"></el-divider>
59
        </#if>
60
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
61
        <#assign refview = ctrl.getPortletPSAppView()><#t>
62
        <${srffilepath2(refview.getCodeName())} :portletState="viewState" :viewdata="JSON.stringify(context)" :viewDefaultUsage="false" ></${srffilepath2(refview.getCodeName())}>
63
        </div>
tony001's avatar
tony001 committed
64 65
      <#--  菜单  -->
      <#elseif  ctrl.getPortletType() == 'APPMENU'><#t>
66 67
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
tony001's avatar
tony001 committed
68 69
            <span>
            <#if ctrl.getPSSysImage()??><i class='<#assign img=ctrl.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i></#if>
70
            ${ctrl.getTitle()}
tony001's avatar
tony001 committed
71
            </span>
72
            <#assign render_uiaction><@renderUiaction /></#assign>
73
            <@ibizindent blank=12>
74
            ${render_uiaction}<#t>
75
            </@ibizindent>
76
        </p>
77
        <el-divider class="divider"></el-divider>
78
        </#if>
79
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
80 81 82 83 84
        <#assign appmenu = ctrl.getPSAppMenu()><#t>
        <@ibizindent blank=6>
        ${P.getCtrlCode(appmenu, 'CONTROL.html').code}
        </@ibizindent>
        </div>
tony001's avatar
tony001 committed
85 86
      <#--  自定义  -->
      <#elseif  ctrl.getPortletType() == 'CUSTOM'>
87 88
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
tony001's avatar
tony001 committed
89 90
            <span>
            <#if ctrl.getPSSysImage()??><i class='<#assign img=ctrl.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i></#if>
91
            ${ctrl.getTitle()}
tony001's avatar
tony001 committed
92
            </span>
93
            <#assign render_uiaction><@renderUiaction /></#assign>
94
            <@ibizindent blank=12>
95
            ${render_uiaction}<#t>
96
            </@ibizindent>
97
        </p>
98
        <el-divider class="divider"></el-divider>
99
        </#if>
100
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
101 102 103
        <#if ctrl.render??>
        ${ctrl.render.code}
        <#else>
104
        <div>{{$t('app.portlet.noExtensions')}}</div>
105 106
        </#if>
        </div>
tony001's avatar
tony001 committed
107 108
      <#--  操作栏  -->
      <#elseif  ctrl.getPortletType() == 'ACTIONBAR'>
109 110
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
tony001's avatar
tony001 committed
111 112
            <span>
            <#if ctrl.getPSSysImage()??><i class='<#assign img=ctrl.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i></#if>
113
            ${ctrl.getTitle()}
tony001's avatar
tony001 committed
114
            </span>
115
        </p>
116
        <el-divider class="divider"></el-divider>
117
        </#if>
118
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
119 120 121
        <#if ctrl.render??>
            ${ctrl.render.code}
        <#else>
122
            <app-actionbar :viewState="viewState" :uiService="appUIService" :items="actionBarModelData" @itemClick="handleItemClick"></app-actionbar>
123 124
        </#if>
        </div>
tony001's avatar
tony001 committed
125 126
      <#--  HTML  -->
      <#elseif  ctrl.getPortletType() == 'HTML'>
127 128
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
tony001's avatar
tony001 committed
129 130
            <span>
            <#if ctrl.getPSSysImage()??><i class='<#assign img=ctrl.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i></#if>
131
            ${ctrl.getTitle()}
tony001's avatar
tony001 committed
132
            </span>
133
            <#assign render_uiaction><@renderUiaction /></#assign>
134
            <@ibizindent blank=12>
135
            ${render_uiaction}<#t>
136
            </@ibizindent>
137
        </p>
138
        <el-divider class="divider"></el-divider>
139
        </#if>
140
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
141
        <iframe src="<#if ctrl.getPageUrl()??>${ctrl.getPageUrl()}</#if>" style="height: <#if ctrl.getHeight() gt 0>${ctrl.getHeight()?c}<#else>400</#if>px;width: 100%;border-width: 0px;"></iframe>
142 143 144 145 146 147 148 149 150
        </div>
      <#--  直接内容  -->
      <#elseif  ctrl.getPortletType() == 'RAWITEM'>
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
            <span>
            ${ctrl.getTitle()}
            </span>
        </p>
151
        <el-divider class="divider"></el-divider>
152 153 154 155 156 157
        </#if>
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
        <#if ctrl.render??>
            ${ctrl.render.code}
        <#else>
            <app-rawitem
158 159
                :viewparams="viewparams" 
                :context="context"
160 161 162 163
                contentStyle="<#if ctrl.getPSSysCss()??>${ctrl.getPSSysCss().getCssName()}</#if>"
                sizeStyle="<#if ctrl.getRawItemHeight() gt 0>height: ${ctrl.getRawItemHeight()?c}px;</#if><#if ctrl.getRawItemWidth() gt 0>width: ${ctrl.getRawItemWidth()?c}px;</#if>"
                contentType="<#if ctrl.getContentType?? && ctrl.getContentType()??>${ctrl.getContentType()}</#if>"
                <#if ctrl.getHtmlContent?? && ctrl.getHtmlContent()??>
164
                :htmlContent='`${ctrl.getHtmlContent()}`'
165 166 167 168 169
                </#if>
                <#if ctrl.getPSSysImage?? && ctrl.getPSSysImage()??>
                <#assign img=ctrl.getPSSysImage()>
                <#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>
                imageClass="${img.getCssClass()}"</#if></#if>>
170 171 172
                <#if ctrl.getContentType?? && ctrl.getContentType() == 'RAW'>
                  ${ctrl.getRawContent()}
                </#if>
173 174 175
            </app-rawitem>
        </#if>
        </div> 
tony001's avatar
tony001 committed
176 177
      <#--  其他部件  -->
      <#elseif ctrl.getContentPSControl()??><#t>
178 179
        <#if ctrl.isShowTitleBar() && ctrl.getTitle()??>
        <p class='portlet-title'>
tony001's avatar
tony001 committed
180 181
            <span>
            <#if ctrl.getPSSysImage()??><i class='<#assign img=ctrl.getPSSysImage()><#if img.getCssClass()?? && (img.getCssClass()?length gt 0)>${img.getCssClass()}</#if>'></i></#if>
182
            ${ctrl.getTitle()}
tony001's avatar
tony001 committed
183
            </span>
184
            <#assign render_uiaction><@renderUiaction /></#assign>
185
            <@ibizindent blank=12>
186
            ${render_uiaction}<#t>
187
            </@ibizindent>
188
        </p>
189
        <el-divider class="divider"></el-divider>
190
        </#if>
191
        <div class="<#if ctrl.isShowTitleBar()>portlet-with-title<#else>portlet-without-title</#if>">
192 193 194 195 196 197
        <#assign control = ctrl.getContentPSControl()><#t>
        <!-- 测试 -->
        <@ibizindent blank=6>
        ${P.getCtrlCode(control, 'CONTROL.html').code}
        </@ibizindent>
        </div>
tony001's avatar
tony001 committed
198
      </#if>
199 200 201
    </#if>
    </div>
</template>
tony001's avatar
tony001 committed
202
<#assign import_block>
203
import UIService from '@/uiservice/ui-service';
tony001's avatar
tony001 committed
204 205
import { Environment } from '@/environments/environment';
</#assign>
206 207 208 209
<#ibizinclude>
../@MACRO/CONTROL/CONTROL_PORTLET-HEADER-BASE.vue.ftl
</#ibizinclude>

tony001's avatar
tony001 committed
210 211 212 213
    /**
     * 长度
     *
     * @type {number}
KK's avatar
KK committed
214
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
tony001's avatar
tony001 committed
215 216 217 218 219 220 221
     */
    @Prop() public height?: number;

    /**
     * 宽度
     *
     * @type {number}
KK's avatar
KK committed
222
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
tony001's avatar
tony001 committed
223 224 225
     */
    @Prop() public width?: number;

226 227 228 229 230 231 232 233
    /**
     * 门户部件类型
     *
     * @type {number}
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
    public portletType: string = '<#if ctrl.getPortletType?? && ctrl.getPortletType()??>${ctrl.getPortletType()?lower_case}</#if>';

tony001's avatar
tony001 committed
234 235 236 237 238 239
    /**
     * 视图默认使用
     *
     * @type {string}
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
240
    @Inject({from:'navModel',default: 'tab'})
tony001's avatar
tony001 committed
241 242
    public navModel!:string;

243 244 245 246 247
    <#if ctrl.getPortletType() == 'ACTIONBAR'>
    /**
     * 操作栏模型数据
     *
     * @returns {any[]}
248
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
249
     */
250
    public actionBarModelData:any[] =[
251 252 253 254 255 256 257
        <#if  ctrl.getPSAppViewLogics?? && ctrl.getPSAppViewLogics()??>
        <#list ctrl.getPSAppViewLogics() as appViewLogic>
        { viewlogicname:"${appViewLogic.name}",
        <#if appViewLogic.getPSAppViewUIAction?? && appViewLogic.getPSAppViewUIAction()??>
        <#assign viewUIAction = appViewLogic.getPSAppViewUIAction()/>
        <#if viewUIAction.getPSUIAction?? && viewUIAction.getPSUIAction()??>
        <#assign uiaction = viewUIAction.getPSUIAction() />
tony001's avatar
tony001 committed
258
        actionName:"${uiaction.getCaption()}",
259
        icon:"<#if uiaction.getIconCls?? && uiaction.getIconCls()??>${uiaction.getIconCls()}</#if>",
260 261
        <#if uiaction.getPSAppCounter?? && uiaction.getPSAppCounter()??>
        <#assign counter = uiaction.getPSAppCounter() />
tony001's avatar
tony001 committed
262
        counterService:this.${counter.getCodeName()?lower_case}counterservice,
263
        <#if uiaction.getCounterId()??>counterId:"${uiaction.getCounterId()}",</#if>
264
        noprivdisplaymode:<#if uiaction.getNoPrivDisplayMode(view)??>${uiaction.getNoPrivDisplayMode(view)}<#else>''</#if>,
265
        dataaccaction:'<#if uiaction.getDataAccessAction()??>${uiaction.getDataAccessAction()}</#if>',
266
        actiontarget:'<#if uiaction.getActionTarget()??>${uiaction.getActionTarget()}</#if>',
267
        </#if>
268
        visabled:true,disabled:false
269
        </#if>
270
        </#if>
271 272 273 274 275 276 277 278
        }<#if appViewLogic_has_next>,</#if>
        </#list>
        </#if>
    ];

    /**
     * 触发界面行为
     *
279
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
280
     */
281
    public handleItemClick($event:any){
282
      let data: any = $event.params && Object.keys($event.params).length > 0 ? $event.params : null;
283 284
    <#if  ctrl.getPSAppViewLogics?? && ctrl.getPSAppViewLogics()??>
    <#list ctrl.getPSAppViewLogics() as appViewLogic>
285 286
        if(Object.is($event.tag,'${appViewLogic.name}')){
            this.${appViewLogic.name}(data, $event.tag, $event.event);
287 288 289 290 291 292
        }
    </#list>
    </#if>
    }
    </#if>

293 294 295 296 297 298
    /**
     * 界面行为模型数据
     *
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
    public uiactionModel: any = {
299 300
    <#if ctrl.getPSUIActionGroup?? && ctrl.getPSUIActionGroup()?? && ctrl.getPSUIActionGroup().getPSUIActionGroupDetails()??>
    <#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
301 302 303
        <#list UIActionDetails as uiactiondetail>
        <#if uiactiondetail.getPSUIAction()??>
          <#assign uiaction = uiactiondetail.getPSUIAction() />
304 305 306 307 308
            <#if uiaction.getCodeName?? && uiaction.getCodeName()??>
              <#assign uiactionname = uiaction.getCodeName()?lower_case />
            <#else>
              <#assign uiactionname = uiactiondetail.getName()?lower_case />
            </#if>
309
        ${uiactionname}: {name: '${uiactionname}', actiontarget: '${uiaction.getActionTarget()}', <#if uiactiondetail.isShowCaption()>caption: '<#if uiactiondetail.caption??>${uiactiondetail.caption}</#if>',</#if> disabled: false, type: '<#if uiactiondetail.getDetailType?? && uiactiondetail.getDetailType()??>${uiactiondetail.getDetailType()}</#if>', visabled: true, noprivdisplaymode: <#if uiaction.getNoPrivDisplayMode(view)??>${uiaction.getNoPrivDisplayMode(view)}</#if>, dataaccaction: '<#if uiaction.getDataAccessAction()??>${uiaction.getDataAccessAction()}</#if>', uiaction: { tag: '${uiaction.getUIActionTag()}', target: '${uiaction.getActionTarget()}' } },
310 311
        </#if>
        </#list>
312
    </#if>
313 314
    }

315 316 317 318 319
    <#if ctrl.getPortletType?? && ctrl.getPortletType()?? && ctrl.getPortletType() == "TOOLBAR" >
    <#assign toolbar = ctrl.getContentPSControl()/>
    ${P.getCtrlCode(toolbar, 'CONTROL.vue').code}
    </#if>

320 321 322 323
    /**
     * 是否自适应大小
     *
     * @returns {boolean}
324
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
325 326 327 328 329 330 331
     */
    @Prop({default: false})public isAdaptiveSize!: boolean;

    /**
     * 获取多项数据
     *
     * @returns {any[]}
332
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
333 334 335 336 337 338 339 340 341
     */
    public getDatas(): any[] {
        return [];
    }

    /**
     * 获取单项树
     *
     * @returns {*}
342
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
343 344 345 346 347
     */
    public getData(): any {
        return {};
    }

348 349 350 351 352 353 354 355 356 357 358 359 360 361
    /**
     * 获取高度
     *
     * @returns {any[]}
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
    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{
362 363 364 365
  <#if ctrl.getHeight?? && ctrl.getHeight() gt 0>
            return '${ctrl.getHeight()?c}px';
  <#else>
            return 'auto';
366 367 368 369
  </#if>
        }
    }

370 371 372 373 374 375 376 377 378 379
    /**
     * 刷新
     *
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
    public refresh(args?: any) {
      <#if ctrl.getPortletType?? && ctrl.getPortletType()?? && ctrl.getPortletType() == "VIEW">
      this.viewState.next({ tag: '${ctrl.getPortletPSAppView().getName()}', action: 'refresh', data: args });
      </#if>
      <#if ctrl.getPortletType?? && ctrl.getPortletType()?? && (ctrl.getPortletType() == "CHART" || ctrl.getPortletType() == "LIST")>
380
      this.viewState.next({ tag: '${ctrl.getContentPSControl().getName()}', action: 'refresh', data: args });
381 382 383
      </#if>
    }

384 385 386
    /**
     * vue 生命周期
     *
387
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
388
     */
389
    public created() {
390 391 392 393 394 395
        this.afterCreated();
    }

    /**
     * 执行created后的逻辑
     *
396
     *  @memberof ${srfclassname('${ctrl.codeName}')}Base
397
     */    
398
    public afterCreated(){
399 400
        if (this.viewState) {
            this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
401 402 403
                if(Object.is(tag, "all-portlet") && Object.is(action,'loadmodel')){
                   this.calcUIActionAuthState(data);
                }
404 405 406 407 408 409 410 411 412 413 414 415 416 417
                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 生命周期
     *
418
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
419
     */
420
    public destroyed() {
421 422 423 424 425 426
        this.afterDestroy();
    }

    /**
     * 执行destroyed后的逻辑
     *
427
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
428
     */
429
    public afterDestroy() {
430 431 432 433 434 435 436 437
        if (this.viewStateEvent) {
            this.viewStateEvent.unsubscribe();
        }
        <#if destroyed_block??>
        ${destroyed_block}
        </#if>
    }

tony001's avatar
tony001 committed
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
    <#if ctrl.getPortletType() != 'ACTIONBAR'>
    <#if ctrl.getPSUIActionGroup?? && ctrl.getPSUIActionGroup()?? && ctrl.getPSUIActionGroup().getPSUIActionGroupDetails()??>
    <#assign UIActionDetails=ctrl.getPSUIActionGroup().getPSUIActionGroupDetails() />
    /**
     * 执行界面行为
     *
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
    public uiAction(tag:string,event:any){
    <#list UIActionDetails as uiactiondetail>
        if(Object.is(tag,'${uiactiondetail.getName()?lower_case}')){
            this.${ctrl.getName()?lower_case}_${uiactiondetail.getName()?lower_case}_click(null,tag,event);
        }
    </#list>
    }
    </#if>
    </#if>

456 457 458 459 460 461
    /**
     * 计算界面行为权限
     *
     * @memberof ${srfclassname('${ctrl.codeName}')}Base
     */
    public calcUIActionAuthState(data:any = {}) {
462 463 464 465
        //  如果是操作栏,不计算权限
        if(this.portletType && Object.is('actionbar', this.portletType)) {
            return;
        }
466
        let _this: any = this;
RedPig97's avatar
RedPig97 committed
467
        let uiservice: any = _this.appUIService ? _this.appUIService : new UIService();
468 469
        if(_this.uiactionModel){
            ViewTool.calcActionItemAuthState(data,_this.uiactionModel,uiservice);
470 471 472
        }
    }

473 474 475 476 477 478
<#ibizinclude>
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
</#ibizinclude>

<#ibizinclude>
../@MACRO/CONTROL/CONTROL-BASE.style.ftl
tony001's avatar
tony001 committed
479 480 481
</#ibizinclude>

</#if>