main-menu-appmenu-base.vue 117.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
<template>
<div class="app-app-menu">
    <el-menu
      class="app-menu"
      :default-openeds="defaultOpeneds"
      :mode="mode"
      :menu-trigger="trigger"
      :collapse="isCollapse"
      @select="select"
      :default-active="defaultActive">
        <template v-if="Object.is(mode,'horizontal')">
            <template v-for="item0 in menus">
                <template v-if="item0.items && Array.isArray(item0.items) && item0.items.length > 0">
                    <el-submenu v-show="!item0.hidden" :index="item0.name" :popper-class="popperClass" :key="item0.id" :class="item0.textcls">
                        <template slot='title'>
                            <template v-if="item0.icon && item0.icon != ''">
                                <img :src="item0.icon" class='app-menu-icon' />
                            </template>
                            <template v-else-if="item0.iconcls && item0.iconcls != ''">
                                <i :class="[item0.iconcls, 'app-menu-icon']"></i>
                            </template>
                            <template v-else>
                                <i class='fa fa-cogs app-menu-icon'></i>
                            </template>
                            <span class='text' :title="$t('app.menus.mainmenu.' + item0.name)">{{$t('app.menus.mainmenu.' + item0.name)}}</span>
                        </template>
                        <template v-for="item1 in item0.items">
                            <template v-if="item1.items && Array.isArray(item1.items) && item1.items.length > 0">
                                <el-submenu v-show="!item1.hidden" :index="item1.name" :popper-class="popperClass" :key="item1.id" :class="item1.textcls">
                                    <template slot='title'>
                                        <template v-if="item1.icon && item1.icon != ''">
                                            <img :src="item1.icon" class='app-menu-icon' />
                                        </template>
                                        <template v-else-if="item1.iconcls && item1.iconcls != ''">
                                            <i :class="[item1.iconcls, 'app-menu-icon']"></i>
                                        </template>
                                        <span class='text' :title="$t('app.menus.mainmenu.' + item1.name)">{{$t('app.menus.mainmenu.' + item1.name)}}</span>
                                    </template>
                                    <template v-for="item2 in item1.items">
                                        <template v-if="item2.type =='MENUITEM'">
                                            <el-menu-item v-show="!item2.hidden" :index="item2.name" :key="item2.id" :class="item2.textcls">
                                                <template v-if="item2.icon && item2.icon != ''">
                                                    <img :src="item2.icon" class='app-menu-icon' />
                                                </template>
                                                <template v-else-if="item2.iconcls && item2.iconcls != ''">
                                                    <i :class="[item2.iconcls, 'app-menu-icon']"></i>
                                                </template>
                                                <template slot="title">
                                                    <span class="text" :title="$t('app.menus.mainmenu.' + item2.name)">{{$t('app.menus.mainmenu.' + item2.name)}}</span>
                                                    <template v-if="counterdata && counterdata[item2.counterid] && counterdata[item2.counterid] > 0">
                                                        <span class="pull-right">
                                                            <badge :count="counterdata[item2.counterid]" :overflow-count="9999"></badge>
                                                        </span>
                                                    </template>
                                                </template>
                                            </el-menu-item>
                                        </template>
                                    </template>
                                </el-submenu>
                            </template>
                            <template v-else>
                                <template v-if="item1.type =='MENUITEM'">
                                    <el-menu-item v-show="!item1.hidden" :index="item1.name" :key="item1.id" :class="item1.textcls">
                                        <template v-if="item1.icon && item1.icon != ''">
                                            <img :src="item1.icon" class='app-menu-icon' />
                                        </template>
                                        <template v-else-if="item1.iconcls && item1.iconcls != ''">
                                            <i :class="[item1.iconcls, 'app-menu-icon']"></i>
                                        </template>
                                        <template slot="title">
                                            <span class="text" :title="$t('app.menus.mainmenu.' + item1.name)">{{$t('app.menus.mainmenu.' + item1.name)}} </span>
                                            <template v-if="counterdata && counterdata[item1.counterid] && counterdata[item1.counterid] > 0">
                                                <span class="pull-right">
                                                    <badge :count="counterdata[item1.counterid]" :overflow-count="9999"></badge>
                                                </span>
                                            </template>
                                        </template>
                                    </el-menu-item>
                                </template>
                            </template>
                        </template>
                    </el-submenu>
                </template>
                <template v-else>
                    <template v-if="item0.type =='MENUITEM'">
                        <el-menu-item v-show="!item0.hidden" :index="item0.name" :key="item0.id" :class="item0.textcls">
                            <template v-if="item0.icon && item0.icon != ''">
                                <img :src="item0.icon" class='app-menu-icon' />
                            </template>
                            <template v-else-if="item0.iconcls && item0.iconcls != ''">
                                <i :class="[item0.iconcls, 'app-menu-icon']"></i>
                            </template>
                            <template v-else>
                                <i class='fa fa-cogs app-menu-icon'></i>
                            </template>
                            <template slot="title">
                                <span class="text" :title="$t('app.menus.mainmenu.' + item0.name)">{{$t('app.menus.mainmenu.' + item0.name)}}</span>
                                <template v-if="counterdata && counterdata[item0.counterid] && counterdata[item0.counterid] > 0">
                                    <span class="pull-right">
                                        <badge :count="counterdata[item0.counterid]" :overflow-count="9999"></badge>
                                    </span>
                                </template>
                            </template>
                        </el-menu-item>
                    </template>
                </template>
            </template>   
        </template> 
        <app-menu-item v-else :isCollapse="isCollapse" :menus="menus" :ctrlName="'mainmenu'" :isFirst="true" :counterdata="counterdata" :popper-class="popperClass"></app-menu-item>
    </el-menu>
</div>
</template>

<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 AppCenterService from "@service/app/app-center-service";
import MainMenuService from './main-menu-appmenu-service';
import MainMenuModel from './main-menu-appmenu-model';
import { Environment } from '@/environments/environment';
import AuthService from '@/authservice/auth-service';


@Component({
    components: {
      
    }
})
export default class MainMenuBase extends Vue implements ControlInterface {

    /**
     * 名称
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Prop() public name?: string;

    /**
     * 视图通讯对象
     *
     * @type {Subject<ViewState>}
     * @memberof MainMenuBase
     */
    @Prop() public viewState!: Subject<ViewState>;

    /**
     * 应用上下文
     *
     * @type {*}
     * @memberof MainMenuBase
     */
157
    @Prop() public context!: any;
158 159 160 161 162 163 164

    /**
     * 视图参数
     *
     * @type {*}
     * @memberof MainMenuBase
     */
165
    @Prop() public viewparams!: any;
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448

    /**
     * 视图状态事件
     *
     * @public
     * @type {(Subscription | undefined)}
     * @memberof MainMenuBase
     */
    public viewStateEvent: Subscription | undefined;

    /**
     * 获取部件类型
     *
     * @returns {string}
     * @memberof MainMenuBase
     */
    public getControlType(): string {
        return 'APPMENU'
    }



    /**
     * 建构部件服务对象
     *
     * @type {MainMenuService}
     * @memberof MainMenuBase
     */
    public service: MainMenuService = new MainMenuService({ $store: this.$store });
    


    /**
     * 关闭视图
     *
     * @param {any} args
     * @memberof MainMenuBase
     */
    public closeView(args: any): void {
        let _this: any = this;
        _this.$emit('closeview', [args]);
    }

    /**
     *  计数器刷新
     *
     * @memberof MainMenuBase
     */
    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();
                }
            })
        }
    }



    /**
     * 获取多项数据
     *
     * @returns {any[]}
     * @memberof MainMenuBase
     */
    public getDatas(): any[] {
        return [];
    }

    /**
     * 获取单项树
     *
     * @returns {*}
     * @memberof MainMenuBase
     */
    public getData(): any {
        return null;
    }

    /**
     * 导航模式(route:面包屑模式、tab:分页导航模式)
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Prop({default:'tab'}) public navModel?:string;

    /**
     * 视图标识
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Prop() public viewtag!:string;

    /**
     * 菜单模型
     *
     * @public
     * @type {MainMenuModel}
     * @memberof MainMenuBase
     */
    public menuMode: MainMenuModel = new MainMenuModel();

    /**
     * 显示处理提示
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Prop({ default: true }) public showBusyIndicator?: boolean;

    /**
     * 菜单数据
     *
     * @public
     * @type {any[]}
     * @memberof MainMenuBase
     */
    @Provide()
    public menus: any[] = [];

    /**
     * 菜单收缩改变
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Model() public collapsechange?: boolean;

    /**
     * 监听菜单收缩
     *
     * @param {*} newVal
     * @param {*} oldVal
     * @memberof MainMenuBase
     */
    @Watch('collapsechange')
    onCollapsechangeChange(newVal: any, oldVal: any) {
        if (newVal !== this.isCollapse) {
            this.isCollapse = !this.isCollapse;
        }
    }

    /**
     * 当前模式,菜单在顶部还是在底部
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Prop() mode: any;

    /**
     * 应用起始页面
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Prop({ default: false }) isDefaultPage?: boolean;

    /**
     * 空白视图模式
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Prop({ default: false }) isBlankMode?:boolean;

    /**
     * 默认打开视图
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Prop() defPSAppView: any;

    /**
     * 默认激活的index
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Provide() defaultActive: any = null;

    /**
     * 当前选中主题
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    @Prop() selectTheme: any;

    /**
     * 默认打开的index数组
     *
     * @type {any[]}
     * @memberof MainMenuBase
     */
    @Provide() public defaultOpeneds: any[] = [];

    /**
     * 是否展开
     *
     * @type {boolean}
     * @memberof MainMenuBase
     */
    @Provide() public isCollapse: boolean = false;

    /**
     * 触发方式,默认click
     *
     * @type {string}
     * @memberof MainMenuBase
     */
    @Provide() trigger: string = 'click';

    /**
     * 计数器数据
     *
     * @type {*}
     * @memberof MainMenuBase
     */
    public counterdata: any = {};

    /**
     * 建构权限服务对象
     *
     * @type {AuthService}
     * @memberof MainMenuBase
     */
    public authService:AuthService = new AuthService({ $store: this.$store });

    /**
     * vue  生命周期
     *
     * @memberof MainMenuBase
     */
    public created() {
        this.afterCreated();
    }

    /**
     * 执行created后的逻辑
     *
     *  @memberof MainMenuBase
     */    
    public afterCreated(){
        if (Object.is(this.mode, 'horizontal')) {
            this.trigger = 'hover';
        }
        if (this.viewState) {
            this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
                if (!Object.is(tag, this.name)) {
                    return;
                }
                this.load(data);
            });
        }
    }

    /**
     * vue 生命周期
     *
     * @memberof MainMenuBase
     */
    public destroyed() {
        this.afterDestroy();
    }

    /**
     * 执行destroyed后的逻辑
     *
     * @memberof MainMenuBase
     */
    public afterDestroy() {
        if (this.viewStateEvent) {
            this.viewStateEvent.unsubscribe();
        }
    }


449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
    /**
     * 处理菜单默认选中项
     *
     * @public
     * @memberof MainMenuBase
     */
    public doMenuSelect(): void {
        if (!this.isDefaultPage || this.isBlankMode) {
            return;
        }
        const appFuncs: any[] = this.menuMode.getAppFuncs();
        if (this.$route && this.$route.matched && this.$route.matched.length == 2) { // 存在二级路由
            const [{ }, matched] = this.$route.matched;
            const appfunc: any = appFuncs.find((_appfunc: any) => Object.is(_appfunc.routepath, matched.path) && Object.is(_appfunc.appfuncyype, 'APPVIEW'));
            if (appfunc) {
                this.computeMenuSelect(this.menus, appfunc.appfunctag);
            }
            return;
        } else if (this.defPSAppView && Object.keys(this.defPSAppView).length > 0) { // 存在默认视图
            const appfunc: any = appFuncs.find((_appfunc: any) => Object.is(_appfunc.routepath, this.defPSAppView.routepath) && Object.is(_appfunc.appfuncyype, 'APPVIEW'));
            if (appfunc) {
                this.computeMenuSelect(this.menus, appfunc.appfunctag);
            }
            const viewparam: any = {};
            const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, this.defPSAppView.deResParameters, this.defPSAppView.parameters, [], viewparam);
            this.$router.push(path);
            return;
        }

        this.computeMenuSelect(this.menus, '');
        let item = this.compute(this.menus, this.defaultActive);
        if (Object.keys(item).length === 0) {
            return;
        }
        if(!item.hidden){
            this.click(item);
        }
    }

    /**
     * 计算菜单选中项
     *
     * @public
     * @param {any[]} items
     * @param {string} appfunctag
     * @returns {boolean}
     * @memberof MainMenuBase
     */
    public computeMenuSelect(items: any[], appfunctag: string): boolean {
        const appFuncs: any[] = this.menuMode.getAppFuncs();
        return items.some((item: any) => {
            if (Object.is(appfunctag, '') && !Object.is(item.appfunctag, '') && item.opendefault) {
                const appfunc = appFuncs.find((_appfunc: any) => Object.is(_appfunc.appfunctag, item.appfunctag));
                if (appfunc.routepath) {
                    this.defaultActive = item.name;
                    this.setHideSideBar(item);
                    return true;
                }
            }
            if (Object.is(item.appfunctag, appfunctag) && item.opendefault) {
                this.setHideSideBar(item);
                this.defaultActive = item.name;
                return true;
            }
            if (item.items && item.items.length > 0) {
                const state = this.computeMenuSelect(item.items, appfunctag);
                if (state) {
                    this.defaultOpeneds.push(item.name);
                    return true;
                }
            }
            return false;
        });
    }

524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
    /**
     * 获取菜单项数据
     *
     * @public
     * @param {any[]} items
     * @param {string} name
     * @returns
     * @memberof MainMenuBase
     */
    public compute(items: any[], name: string) {
        const item: any = {};
        items.some((_item: any) => {
            if (name && Object.is(_item.name, name)) {
                Object.assign(item, _item);
                this.setHideSideBar(_item);
                return true;
            }
            if (_item.items && Array.isArray(_item.items)) {
                const subItem = this.compute(_item.items, name);
                if (Object.keys(subItem).length > 0) {
                    Object.assign(item, subItem);
                    return true;
                }
            }
            return false;
        });
        return item;
    }

    /**
     * 设置是否隐藏菜单栏
     *
     * @public
     * @param {*} item
     * @memberof MainMenuBase
     */
    public setHideSideBar(item: any): void {
561 562 563
        if (item.hidesidebar) {
            this.$emit('collapsechange', true);
        }
564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
    }

    /**
     * 菜单项选中处理
     *
     * @param {*} index
     * @param {any[]} indexs
     * @returns
     * @memberof MainMenuBase
     */
    public select(index: any, indexs: any[]) {
        let item = this.compute(this.menus, index);
        if (Object.keys(item).length === 0) {
            return;
        }
        this.click(item);
    }

    /**
     * 菜单点击
     *
     * @public
     * @param {*} item 菜单数据
     * @memberof MainMenuBase
     */
    public click(item: any) {
        if (item) {
            let navDataService = NavDataService.getInstance(this.$store);
            if(Object.is(this.navModel,"route")){
                navDataService.removeNavData(this.viewtag);
            }
            switch (item.appfunctag) {
                case 'Auto81': 
                    this.clickAuto81(item);
                    return;
599 600 601
                case 'AppFunc6': 
                    this.clickAppFunc6(item);
                    return;
602 603 604
                case 'AppFunc29': 
                    this.clickAppFunc29(item);
                    return;
605 606 607
                case 'AppFunc82': 
                    this.clickAppFunc82(item);
                    return;
608 609
                case 'AppFunc51': 
                    this.clickAppFunc51(item);
610
                    return;
611 612 613
                case 'AppFunc94': 
                    this.clickAppFunc94(item);
                    return;
614 615 616
                case 'AppFunc26': 
                    this.clickAppFunc26(item);
                    return;
617 618 619
                case 'Auto25': 
                    this.clickAuto25(item);
                    return;
620 621 622
                case 'Auto96': 
                    this.clickAuto96(item);
                    return;
623 624 625
                case 'AppFunc7': 
                    this.clickAppFunc7(item);
                    return;
626 627
                case 'Auto213': 
                    this.clickAuto213(item);
628
                    return;
629 630 631
                case 'AppFunc55': 
                    this.clickAppFunc55(item);
                    return;
632 633
                case 'Auto151': 
                    this.clickAuto151(item);
634
                    return;
635 636 637
                case 'AppFunc15': 
                    this.clickAppFunc15(item);
                    return;
638 639 640
                case 'Auto114': 
                    this.clickAuto114(item);
                    return;
641 642 643
                case 'AppFunc27': 
                    this.clickAppFunc27(item);
                    return;
644 645 646
                case 'AppFunc70': 
                    this.clickAppFunc70(item);
                    return;
647 648 649
                case 'AppFunc20': 
                    this.clickAppFunc20(item);
                    return;
650 651 652
                case 'AppFunc74': 
                    this.clickAppFunc74(item);
                    return;
653 654 655
                case 'AppFunc25': 
                    this.clickAppFunc25(item);
                    return;
656 657 658
                case 'AppFunc72': 
                    this.clickAppFunc72(item);
                    return;
659 660 661
                case 'Auto286': 
                    this.clickAuto286(item);
                    return;
662 663 664
                case 'Auto375': 
                    this.clickAuto375(item);
                    return;
665 666 667
                case 'AppFunc73': 
                    this.clickAppFunc73(item);
                    return;
668 669 670
                case 'AppFunc83': 
                    this.clickAppFunc83(item);
                    return;
671 672 673
                case 'Auto106': 
                    this.clickAuto106(item);
                    return;
674 675 676
                case 'Auto402': 
                    this.clickAuto402(item);
                    return;
677 678 679
                case 'AppFunc90': 
                    this.clickAppFunc90(item);
                    return;
680 681 682
                case 'AppFunc62': 
                    this.clickAppFunc62(item);
                    return;
683 684 685
                case 'AppFunc13': 
                    this.clickAppFunc13(item);
                    return;
686 687 688
                case 'AppFunc41': 
                    this.clickAppFunc41(item);
                    return;
689 690 691
                case 'AppFunc35': 
                    this.clickAppFunc35(item);
                    return;
692 693 694
                case 'AppFunc88': 
                    this.clickAppFunc88(item);
                    return;
695 696 697
                case 'AppFunc16': 
                    this.clickAppFunc16(item);
                    return;
698 699 700
                case 'Auto319': 
                    this.clickAuto319(item);
                    return;
701 702 703
                case 'AppFunc3': 
                    this.clickAppFunc3(item);
                    return;
704 705 706
                case 'AppFunc19': 
                    this.clickAppFunc19(item);
                    return;
707 708 709
                case 'Auto222': 
                    this.clickAuto222(item);
                    return;
710 711 712
                case 'AppFunc84': 
                    this.clickAppFunc84(item);
                    return;
713 714 715
                case 'AppFunc91': 
                    this.clickAppFunc91(item);
                    return;
716 717 718
                case 'AppFunc58': 
                    this.clickAppFunc58(item);
                    return;
719 720 721
                case 'AppFunc42': 
                    this.clickAppFunc42(item);
                    return;
722 723 724
                case 'AppFunc64': 
                    this.clickAppFunc64(item);
                    return;
725 726 727
                case 'AppFunc11': 
                    this.clickAppFunc11(item);
                    return;
728 729 730
                case 'AppFunc49': 
                    this.clickAppFunc49(item);
                    return;
731 732 733
                case 'Auto129': 
                    this.clickAuto129(item);
                    return;
734 735 736
                case 'AppFunc23': 
                    this.clickAppFunc23(item);
                    return;
737 738 739
                case 'AppFunc65': 
                    this.clickAppFunc65(item);
                    return;
740 741 742
                case 'Auto2': 
                    this.clickAuto2(item);
                    return;
743 744 745
                case 'AppFunc68': 
                    this.clickAppFunc68(item);
                    return;
746 747 748
                case 'Auto176': 
                    this.clickAuto176(item);
                    return;
749 750 751
                case 'AppFunc24': 
                    this.clickAppFunc24(item);
                    return;
752 753 754
                case 'Auto3': 
                    this.clickAuto3(item);
                    return;
755 756 757
                case 'AppFunc31': 
                    this.clickAppFunc31(item);
                    return;
758 759 760
                case 'Auto279': 
                    this.clickAuto279(item);
                    return;
761 762 763
                case 'AppFunc22': 
                    this.clickAppFunc22(item);
                    return;
764 765 766
                case 'AppFunc57': 
                    this.clickAppFunc57(item);
                    return;
767 768 769
                case 'AppFunc46': 
                    this.clickAppFunc46(item);
                    return;
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784
                case 'AppFunc44': 
                    this.clickAppFunc44(item);
                    return;
                case 'AppFunc14': 
                    this.clickAppFunc14(item);
                    return;
                case 'Auto124': 
                    this.clickAuto124(item);
                    return;
                case 'AppFunc50': 
                    this.clickAppFunc50(item);
                    return;
                case 'AppFunc18': 
                    this.clickAppFunc18(item);
                    return;
785 786 787
                case 'AppFunc89': 
                    this.clickAppFunc89(item);
                    return;
788 789 790
                case 'AppFunc79': 
                    this.clickAppFunc79(item);
                    return;
791 792
                case 'AppFunc95': 
                    this.clickAppFunc95(item);
793
                    return;
794 795 796
                case 'AppFunc36': 
                    this.clickAppFunc36(item);
                    return;
797 798 799
                case 'Auto320': 
                    this.clickAuto320(item);
                    return;
800 801 802
                case 'Auto155': 
                    this.clickAuto155(item);
                    return;
803 804 805
                case 'Auto371': 
                    this.clickAuto371(item);
                    return;
806 807 808
                case 'Auto387': 
                    this.clickAuto387(item);
                    return;
809 810 811
                case 'AppFunc59': 
                    this.clickAppFunc59(item);
                    return;
812 813 814
                case 'Auto296': 
                    this.clickAuto296(item);
                    return;
815 816 817 818 819 820
                case 'Auto67': 
                    this.clickAuto67(item);
                    return;
                case 'AppFunc8': 
                    this.clickAppFunc8(item);
                    return;
821 822 823
                case 'AppFunc71': 
                    this.clickAppFunc71(item);
                    return;
824 825 826 827 828 829
                case 'Auto173': 
                    this.clickAuto173(item);
                    return;
                case 'AppFunc43': 
                    this.clickAppFunc43(item);
                    return;
830 831 832
                case 'AppFunc86': 
                    this.clickAppFunc86(item);
                    return;
833 834 835
                case 'Auto39': 
                    this.clickAuto39(item);
                    return;
836 837 838
                case 'AppFunc66': 
                    this.clickAppFunc66(item);
                    return;
839 840 841 842 843
                case 'AppFunc5': 
                    this.clickAppFunc5(item);
                    return;
                case 'Auto393': 
                    this.clickAuto393(item);
844
                    return;
845 846 847
                case 'AppFunc85': 
                    this.clickAppFunc85(item);
                    return;
848 849 850
                case 'AppFunc54': 
                    this.clickAppFunc54(item);
                    return;
851 852 853
                case 'AppFunc81': 
                    this.clickAppFunc81(item);
                    return;
854 855 856
                case 'AppFunc80': 
                    this.clickAppFunc80(item);
                    return;
857 858 859
                case 'AppFunc47': 
                    this.clickAppFunc47(item);
                    return;
860 861 862
                case 'Auto235': 
                    this.clickAuto235(item);
                    return;
863 864 865
                case 'AppFunc21': 
                    this.clickAppFunc21(item);
                    return;
866 867 868
                case 'AppFunc69': 
                    this.clickAppFunc69(item);
                    return;
869 870 871
                case 'AppFunc60': 
                    this.clickAppFunc60(item);
                    return;
872 873 874
                case 'AppFunc': 
                    this.clickAppFunc(item);
                    return;
875 876 877
                case 'AppFunc4': 
                    this.clickAppFunc4(item);
                    return;
878 879 880
                case 'Auto337': 
                    this.clickAuto337(item);
                    return;
881 882 883
                case 'AppFunc32': 
                    this.clickAppFunc32(item);
                    return;
884 885 886
                case 'AppFunc12': 
                    this.clickAppFunc12(item);
                    return;
887 888 889
                case 'Auto338': 
                    this.clickAuto338(item);
                    return;
890 891 892
                case 'AppFunc67': 
                    this.clickAppFunc67(item);
                    return;
893 894 895
                case 'AppFunc28': 
                    this.clickAppFunc28(item);
                    return;
896 897 898
                case 'AppFunc2': 
                    this.clickAppFunc2(item);
                    return;
899 900 901
                case 'AppFunc10': 
                    this.clickAppFunc10(item);
                    return;
902 903
                case 'AppFunc34': 
                    this.clickAppFunc34(item);
904
                    return;
905 906 907
                case 'AppFunc45': 
                    this.clickAppFunc45(item);
                    return;
908 909 910
                case 'AppFunc17': 
                    this.clickAppFunc17(item);
                    return;
911 912 913
                case 'AppFunc78': 
                    this.clickAppFunc78(item);
                    return;
914 915 916
                case 'AppFunc75': 
                    this.clickAppFunc75(item);
                    return;
917 918 919
                case 'Auto111': 
                    this.clickAuto111(item);
                    return;
920 921 922
                case 'AppFunc56': 
                    this.clickAppFunc56(item);
                    return;
923 924 925
                case 'Auto299': 
                    this.clickAuto299(item);
                    return;
926 927 928
                case 'AppFunc9': 
                    this.clickAppFunc9(item);
                    return;
929 930 931
                case 'Auto66': 
                    this.clickAuto66(item);
                    return;
932 933 934 935 936 937 938
                default:
                    console.warn('未指定应用功能');
            }
        }
    }

    
939 940 941 942 943 944 945
    /**
     * 动态必填
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAuto81(item: any = {}) {
946 947 948 949 950
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
951
            { pathName: 'f9editview', parameterName: 'f9editview' },
952 953 954 955 956 957 958
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
959 960 961 962
        })
    }
    
    /**
963
     * 图书实体-表格值规则
964 965 966 967
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
968
    public clickAppFunc6(item: any = {}) {
969 970 971 972
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
973 974
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'valuerulesgridview', parameterName: 'valuerulesgridview' },
975 976 977 978 979 980 981
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
982 983 984
        })
    }
    
985 986 987 988 989 990
    /**
     * 功能名称
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
991
    public clickAppFunc29(item: any = {}) {
992 993 994 995 996
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
997
            { pathName: 'usr3calendarview', parameterName: 'usr3calendarview' },
998 999 1000 1001 1002 1003 1004 1005 1006 1007
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027
    /**
     * 可定制应用看板
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc82(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'appportalview2', parameterName: 'appportalview2' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
1028 1029
    }
    
1030
    /**
1031
     * 图书实体状态向导视图
1032 1033 1034 1035
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1036
    public clickAppFunc51(item: any = {}) {
1037 1038 1039 1040 1041
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1042
            { pathName: 'wizardiwithstateview', parameterName: 'wizardiwithstateview' },
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
    /**
     * 工作流动态操作视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc94(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
        ];
        const view = { 
            viewname: 'ibizsample0021-wfdyna-action-view', 
            title: (this.$t('entities.ibizsample0021.views.wfdynaactionview.title') as any),
            height: 0, 
            width: 0, 
        };
        const appmodal = this.$appmodal.openModal(view, JSON.parse(JSON.stringify(this.context)),viewparam);
        appmodal.subscribe((result: any) => {
            console.log(result);
        });
    }
    
1078
    /**
1079
     * 图书看板视图(代码表分组)
1080 1081 1082 1083
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1084
    public clickAppFunc26(item: any = {}) {
1085 1086 1087 1088
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1089 1090
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'groupbycodelistkanbanview', parameterName: 'groupbycodelistkanbanview' },
1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1101
    /**
1102
     * 柱状图
1103 1104 1105 1106
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1107
    public clickAuto25(item: any = {}) {
1108 1109 1110 1111
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1112 1113
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'barchartview', parameterName: 'barchartview' },
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1125
     * 动态节点实体
1126 1127 1128 1129
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1130
    public clickAuto96(item: any = {}) {
1131 1132 1133 1134
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1135 1136
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f3treeexpview', parameterName: 'f3treeexpview' },
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1147
    /**
1148
     * 功能名称
1149 1150 1151 1152
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1153
    public clickAppFunc7(item: any = {}) {
1154 1155 1156 1157
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1158 1159
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2gridview', parameterName: 'usr2gridview' },
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1170
    /**
1171
     * 分页导航
1172 1173 1174 1175
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1176
    public clickAuto213(item: any = {}) {
1177 1178 1179 1180
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1181 1182
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'stabexpview', parameterName: 'stabexpview' },
1183 1184 1185 1186 1187 1188 1189 1190
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
1191 1192 1193
    }
    
    /**
1194
     * 表格列重置
1195 1196 1197 1198
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1199
    public clickAppFunc55(item: any = {}) {
1200 1201 1202 1203
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1204 1205
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr8gridview', parameterName: 'usr8gridview' },
1206 1207 1208 1209 1210 1211 1212 1213
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
1214 1215
    }
    
1216
    /**
1217
     * 动态启用
1218 1219 1220 1221
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1222
    public clickAuto151(item: any = {}) {
1223 1224 1225 1226
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1227 1228
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'f8editview', parameterName: 'f8editview' },
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1240
     * 功能名称
1241 1242 1243 1244
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1245
    public clickAppFunc15(item: any = {}) {
1246 1247 1248 1249
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1250 1251
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2dataview', parameterName: 'usr2dataview' },
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1263
     * 表单项更新
1264 1265 1266 1267
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1268
    public clickAuto114(item: any = {}) {
1269 1270 1271 1272
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1273 1274
            { pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
            { pathName: 'sf2editview', parameterName: 'sf2editview' },
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1285
    /**
1286
     * 图书看板视图(嵌入视图面板)
1287 1288 1289 1290
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1291
    public clickAppFunc27(item: any = {}) {
1292 1293 1294 1295
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1296 1297
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'haspanelkanbanview', parameterName: 'haspanelkanbanview' },
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324
    /**
     * 自定义扩展编辑器
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc70(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'usr3editview', parameterName: 'usr3editview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
1325 1326 1327 1328 1329 1330
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1331
    /**
1332
     * 实体日历视图
1333 1334 1335 1336
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1337
    public clickAppFunc20(item: any = {}) {
1338 1339 1340 1341
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1342 1343
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'calendarview', parameterName: 'calendarview' },
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1355
     * 甘特图
1356 1357 1358 1359
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1360
    public clickAppFunc74(item: any = {}) {
1361 1362 1363 1364
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1365 1366
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'ganttview', parameterName: 'ganttview' },
1367 1368 1369 1370 1371 1372
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
1373 1374 1375 1376 1377
            this.$router.push(path);
        })
    }
    
    /**
1378
     * 图书看板视图(内置功能)
1379 1380 1381 1382
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1383
    public clickAppFunc25(item: any = {}) {
1384 1385 1386 1387
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1388 1389
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'interfunckanbanview', parameterName: 'interfunckanbanview' },
1390 1391 1392 1393 1394 1395
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
1396 1397 1398 1399
            this.$router.push(path);
        })
    }
    
1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422
    /**
     * 图书日历自定义插件
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc72(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4calendarview', parameterName: 'usr4calendarview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1423
    /**
1424
     * 列操作表格
1425 1426 1427 1428
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1429
    public clickAuto286(item: any = {}) {
1430 1431 1432 1433
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1434 1435
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf4gridview', parameterName: 'sf4gridview' },
1436 1437 1438 1439 1440 1441
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
1442 1443 1444 1445
            this.$router.push(path);
        })
    }
    
1446
    /**
1447
     * 静态节点
1448 1449 1450 1451
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1452
    public clickAuto375(item: any = {}) {
1453 1454 1455 1456
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1457 1458
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f1treeexpview', parameterName: 'f1treeexpview' },
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1469
    /**
1470
     * 树表格(增强)
1471 1472 1473 1474
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1475
    public clickAppFunc73(item: any = {}) {
1476 1477 1478 1479
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1480 1481
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'treegridexview', parameterName: 'treegridexview' },
1482 1483 1484 1485 1486 1487 1488 1489 1490 1491
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514
    /**
     * 日历主状态
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc83(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr5calendarview', parameterName: 'usr5calendarview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1515
    /**
1516
     * 表单项值重置
1517 1518 1519 1520
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1521
    public clickAuto106(item: any = {}) {
1522 1523 1524 1525
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1526 1527
            { pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
            { pathName: 'sf1editview', parameterName: 'sf1editview' },
1528 1529 1530 1531 1532 1533 1534 1535 1536 1537
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1538
    /**
1539
     * 左右关系编辑
1540 1541 1542 1543
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1544
    public clickAuto402(item: any = {}) {
1545 1546 1547 1548
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1549
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1550
            { pathName: 'seditview2', parameterName: 'seditview2' },
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583
    /**
     * 列表视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc90(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4listview', parameterName: 'usr4listview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599
    /**
     * 客户实体示例数据补充
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc62(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
            { pathName: 'usr2gridview', parameterName: 'usr2gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
1600 1601 1602 1603 1604 1605 1606
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1607
    /**
1608
     * 图书列表(代码表分组)
1609 1610 1611 1612
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1613
    public clickAppFunc13(item: any = {}) {
1614 1615 1616 1617
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1618 1619
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'groupbycodelistlistview', parameterName: 'groupbycodelistlistview' },
1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1630
    /**
1631
     * 编辑视图(上下关系)
1632 1633 1634 1635
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1636
    public clickAppFunc41(item: any = {}) {
1637 1638 1639 1640 1641
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1642
            { pathName: 'seditview4', parameterName: 'seditview4' },
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1653
    /**
1654
     * 图表视图(k线图)
1655 1656 1657 1658
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1659
    public clickAppFunc35(item: any = {}) {
1660 1661 1662 1663
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1664
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1665
            { pathName: 'usr2chartview', parameterName: 'usr2chartview' },
1666 1667 1668 1669 1670 1671 1672 1673 1674 1675
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698
    /**
     * 数据导入和导出
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc88(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'exportandimportgridview', parameterName: 'exportandimportgridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1699
    /**
1700
     * 功能名称
1701 1702 1703 1704
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1705
    public clickAppFunc16(item: any = {}) {
1706 1707 1708 1709
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1710 1711
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr3dataview', parameterName: 'usr3dataview' },
1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1723
     * 表单项默认值
1724 1725 1726 1727
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1728
    public clickAuto319(item: any = {}) {
1729 1730 1731 1732 1733
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1734
            { pathName: 'sf1editview', parameterName: 'sf1editview' },
1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1746
     * 图书实体行编辑表格
1747 1748 1749 1750
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1751
    public clickAppFunc3(item: any = {}) {
1752 1753 1754 1755
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1756
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1757
            { pathName: 'roweditgridview', parameterName: 'roweditgridview' },
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1769
     * 功能名称
1770 1771 1772 1773
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1774
    public clickAppFunc19(item: any = {}) {
1775 1776 1777 1778
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1779
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1780
            { pathName: 'usr4dataview', parameterName: 'usr4dataview' },
1781 1782 1783 1784 1785 1786 1787 1788 1789 1790
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1791
    /**
1792
     * 编辑器类型
1793 1794 1795 1796
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1797
    public clickAuto222(item: any = {}) {
1798 1799 1800 1801
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1802 1803
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf5editview', parameterName: 'sf5editview' },
1804 1805
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1806 1807 1808 1809 1810 1811 1812 1813 1814
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1815
     * 树主状态
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc84(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'treeview', parameterName: 'treeview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1829 1830 1831 1832 1833 1834 1835 1836
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859
    /**
     * 实体树视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc91(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2treeview', parameterName: 'usr2treeview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1860
    /**
1861
     * 实体卡片导航视图
1862 1863 1864 1865
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1866
    public clickAppFunc58(item: any = {}) {
1867 1868 1869 1870
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1871 1872
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'dataviewexpview', parameterName: 'dataviewexpview' },
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1884
     * 功能名称
1885 1886 1887 1888
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1889
    public clickAppFunc42(item: any = {}) {
1890 1891 1892 1893 1894
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
1895
            { pathName: 'tabexpview', parameterName: 'tabexpview' },
1896 1897
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1898 1899 1900 1901 1902 1903 1904 1905
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1906
    /**
1907
     * 数据选择视图
1908 1909 1910 1911
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1912
    public clickAppFunc64(item: any = {}) {
1913 1914 1915 1916
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1917 1918
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2editview', parameterName: 'usr2editview' },
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
1929
    /**
1930
     * 图书列表视图(内置功能)
1931 1932 1933 1934
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1935
    public clickAppFunc11(item: any = {}) {
1936 1937 1938 1939 1940
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
1941
            { pathName: 'listview', parameterName: 'listview' },
1942 1943
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
1944 1945 1946 1947 1948 1949 1950 1951 1952
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1953
     * 图书实体向导视图
1954 1955 1956 1957
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1958
    public clickAppFunc49(item: any = {}) {
1959 1960 1961 1962
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1963 1964
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'wizardview', parameterName: 'wizardview' },
1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1976
     * 辅助输入提示
1977 1978 1979 1980
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
1981
    public clickAuto129(item: any = {}) {
1982 1983 1984 1985
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
1986 1987
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf7editview', parameterName: 'sf7editview' },
1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
1999
     * 更新默认值
2000 2001 2002 2003
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2004
    public clickAppFunc23(item: any = {}) {
2005 2006 2007 2008
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2009 2010
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'usr2editview', parameterName: 'usr2editview' },
2011 2012 2013 2014 2015 2016 2017 2018 2019 2020
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043
    /**
     * 图书列表视图列表插件
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc65(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2listview', parameterName: 'usr2listview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2044
    /**
2045
     * 雷达图
2046 2047 2048 2049
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2050
    public clickAuto2(item: any = {}) {
2051 2052 2053 2054 2055
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2056
            { pathName: 'radarchartview', parameterName: 'radarchartview' },
2057 2058 2059 2060 2061 2062 2063 2064 2065 2066
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089
    /**
     * 应用部件
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc68(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizappctrls', parameterName: 'ibizappctrl' },
            { pathName: 'gridview', parameterName: 'gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2090
    /**
2091
     * 禁用排序表格
2092 2093 2094 2095
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2096
    public clickAuto176(item: any = {}) {
2097 2098 2099 2100
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2101 2102
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf3gridview', parameterName: 'sf3gridview' },
2103 2104 2105 2106 2107 2108 2109 2110 2111 2112
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2113
    /**
2114
     * 订单示例数据补充
2115 2116 2117 2118
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2119
    public clickAppFunc24(item: any = {}) {
2120 2121 2122 2123
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2124 2125
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'zdytpgridview', parameterName: 'zdytpgridview' },
2126 2127 2128 2129 2130 2131 2132
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
2133 2134 2135 2136
        })
    }
    
    /**
2137
     * 区域图
2138 2139 2140 2141
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2142
    public clickAuto3(item: any = {}) {
2143 2144 2145 2146 2147
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2148
            { pathName: 'areachartview', parameterName: 'areachartview' },
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2160
     * 图书实体表单(内置功能)
2161 2162 2163 2164
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2165
    public clickAppFunc31(item: any = {}) {
2166 2167 2168 2169
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2170
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
2171
            { pathName: 'interfunceditview', parameterName: 'interfunceditview' },
2172 2173 2174 2175 2176 2177 2178 2179 2180 2181
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2182
    /**
2183
     * 表单项输入提示
2184 2185 2186 2187
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2188
    public clickAuto279(item: any = {}) {
2189 2190 2191 2192
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2193 2194
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf2editview', parameterName: 'sf2editview' },
2195 2196 2197
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
2198 2199 2200 2201 2202 2203 2204 2205
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2206
     * 自定义视图
2207 2208 2209 2210
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2211
    public clickAppFunc22(item: any = {}) {
2212 2213 2214 2215
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2216 2217
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'customview', parameterName: 'customview' },
2218 2219 2220
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
2221 2222 2223 2224 2225 2226 2227
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2228
    /**
2229
     * 订单实体树导航
2230 2231 2232 2233
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2234
    public clickAppFunc57(item: any = {}) {
2235 2236 2237 2238 2239
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2240
            { pathName: 'treeexpview', parameterName: 'treeexpview' },
2241 2242 2243 2244 2245 2246 2247 2248 2249 2250
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2251
    /**
2252
     * 订单实体表格导航视图
2253 2254 2255 2256
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2257
    public clickAppFunc46(item: any = {}) {
2258 2259 2260 2261 2262
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2263
            { pathName: 'gridexpview', parameterName: 'gridexpview' },
2264 2265 2266 2267 2268 2269 2270 2271 2272 2273
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2274
    /**
2275
     * 示例实体01数据补充
2276 2277 2278 2279
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2280
    public clickAppFunc44(item: any = {}) {
2281 2282 2283 2284
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2285 2286
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'usr3gridview', parameterName: 'usr3gridview' },
2287 2288 2289 2290 2291 2292 2293 2294 2295 2296
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2297
    /**
2298
     * 实体数据视图
2299 2300 2301 2302
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2303
    public clickAppFunc14(item: any = {}) {
2304 2305 2306 2307
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2308
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
2309
            { pathName: 'dataview', parameterName: 'dataview' },
2310 2311 2312 2313 2314 2315 2316 2317 2318 2319
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2320
    /**
2321
     * 行编辑
2322 2323 2324 2325
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2326
    public clickAuto124(item: any = {}) {
2327 2328 2329 2330
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2331 2332
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf20gridview', parameterName: 'sf20gridview' },
2333 2334 2335 2336 2337 2338 2339 2340 2341 2342
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2343
    /**
2344
     * 订单实体数据看板视图
2345 2346 2347 2348
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2349
    public clickAppFunc50(item: any = {}) {
2350 2351 2352 2353
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2354 2355
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'dashboardview', parameterName: 'dashboardview' },
2356 2357 2358 2359 2360 2361 2362 2363 2364 2365
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2366
    /**
2367
     * 补充示例数据
2368 2369 2370 2371
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2372
    public clickAppFunc18(item: any = {}) {
2373 2374 2375 2376
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2377 2378
            { pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
            { pathName: 'gridview', parameterName: 'gridview' },
2379 2380
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2381 2382 2383 2384 2385 2386 2387 2388
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2389
    /**
2390
     * 微组件实体编辑视图
2391 2392 2393 2394
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2395
    public clickAppFunc89(item: any = {}) {
2396 2397 2398 2399
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2400 2401
            { pathName: 'microcomponents', parameterName: 'microcomponent' },
            { pathName: 'editview', parameterName: 'editview' },
2402 2403 2404 2405 2406 2407 2408 2409 2410 2411
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2412
    /**
2413
     * 表格主状态
2414 2415 2416 2417
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2418
    public clickAppFunc79(item: any = {}) {
2419 2420 2421 2422
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2423 2424
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr9gridview', parameterName: 'usr9gridview' },
2425 2426 2427 2428 2429 2430 2431
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
2432 2433 2434 2435
        })
    }
    
    /**
2436
     * 任务临时模式
2437 2438 2439 2440
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2441
    public clickAppFunc95(item: any = {}) {
2442 2443 2444 2445
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2446 2447
            { pathName: 'ibiztasks', parameterName: 'ibiztask' },
            { pathName: 'usr2editview', parameterName: 'usr2editview' },
2448 2449 2450 2451 2452 2453 2454
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
2455 2456 2457
        })
    }
    
2458
    /**
2459
     * 功能名称
2460 2461 2462 2463
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2464
    public clickAppFunc36(item: any = {}) {
2465 2466 2467 2468
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2469 2470
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'meditview9', parameterName: 'meditview9' },
2471 2472
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2473 2474 2475 2476 2477 2478 2479 2480
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2481
    /**
2482
     * 饼图
2483 2484 2485 2486
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2487
    public clickAuto320(item: any = {}) {
2488 2489 2490 2491
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2492
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2493
            { pathName: 'piechartview', parameterName: 'piechartview' },
2494
        ];
2495 2496 2497 2498 2499 2500 2501
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
2502 2503
    }
    
2504
    /**
2505
     * 动态显示
2506 2507 2508 2509
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2510
    public clickAuto155(item: any = {}) {
2511 2512 2513 2514
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2515 2516
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'f10editview', parameterName: 'f10editview' },
2517 2518 2519 2520 2521 2522 2523 2524 2525 2526
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2527
    /**
2528
     * 表单项自动填充
2529 2530 2531 2532
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2533
    public clickAuto371(item: any = {}) {
2534 2535 2536 2537
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2538
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2539
            { pathName: 'sf3editview', parameterName: 'sf3editview' },
2540 2541 2542 2543 2544 2545 2546 2547 2548 2549
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2550
    /**
2551
     * 折线图
2552 2553 2554 2555
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2556
    public clickAuto387(item: any = {}) {
2557 2558 2559 2560
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2561
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2562
            { pathName: 'linechartview', parameterName: 'linechartview' },
2563 2564 2565 2566 2567 2568 2569 2570 2571 2572
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2573
    /**
2574
     * 实体日历导航视图
2575 2576 2577 2578
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2579
    public clickAppFunc59(item: any = {}) {
2580 2581 2582 2583
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2584 2585
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'calendarexpview', parameterName: 'calendarexpview' },
2586 2587 2588 2589 2590 2591 2592 2593 2594 2595
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2596
    /**
2597
     * 索引实体
2598 2599 2600 2601
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2602
    public clickAuto296(item: any = {}) {
2603 2604 2605 2606
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2607 2608
            { pathName: 'ibizuniproducts', parameterName: 'ibizuniproduct' },
            { pathName: 'sgridview', parameterName: 'sgridview' },
2609 2610 2611 2612 2613 2614 2615 2616 2617 2618
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2619
    /**
2620
     * 前端界面行为
2621 2622 2623 2624
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2625
    public clickAuto67(item: any = {}) {
2626 2627 2628 2629
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2630
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
2631
            { pathName: 'sf5gridview', parameterName: 'sf5gridview' },
2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2643
     * 功能名称
2644 2645 2646 2647
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2648
    public clickAppFunc8(item: any = {}) {
2649 2650 2651 2652
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2653 2654
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr3gridview', parameterName: 'usr3gridview' },
2655 2656 2657 2658 2659 2660 2661 2662 2663 2664
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687
    /**
     * 图书实体数据视图(自定义插件)
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc71(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr5dataview', parameterName: 'usr5dataview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2688
    /**
2689
     * 搜索表单
2690 2691 2692 2693
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2694
    public clickAuto173(item: any = {}) {
2695 2696 2697 2698
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2699 2700
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf1gridview', parameterName: 'sf1gridview' },
2701
        ];
2702 2703 2704 2705 2706 2707 2708 2709 2710 2711
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2712
     * 实体多表单编辑视图
2713 2714 2715 2716
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2717
    public clickAppFunc43(item: any = {}) {
2718 2719 2720 2721
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2722 2723
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2meditview9', parameterName: 'usr2meditview9' },
2724
        ];
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
2735
     * 工作流启动
2736 2737 2738 2739
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2740
    public clickAppFunc86(item: any = {}) {
2741 2742 2743 2744
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2745 2746
            { pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
            { pathName: 'gridview', parameterName: 'gridview' },
2747 2748 2749 2750 2751 2752 2753 2754 2755 2756
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2757
    /**
2758
     * 后台界面行为
2759 2760 2761 2762
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2763
    public clickAuto39(item: any = {}) {
2764 2765 2766 2767
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2768 2769
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sf6gridview', parameterName: 'sf6gridview' },
2770 2771 2772 2773 2774 2775 2776 2777 2778 2779
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2780
    /**
2781
     * 应用门户视图
2782 2783 2784 2785
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2786
    public clickAppFunc66(item: any = {}) {
2787 2788 2789 2790
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2791
            { pathName: 'appportalview', parameterName: 'appportalview' },
2792
        ];
2793
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2794 2795 2796 2797 2798 2799 2800 2801
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2802
    /**
2803
     * 图书表格视图-更新默认值
2804 2805 2806 2807
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2808
    public clickAppFunc5(item: any = {}) {
2809 2810 2811 2812
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2813
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
2814
            { pathName: 'updatedefaultgridview', parameterName: 'updatedefaultgridview' },
2815 2816 2817 2818 2819 2820 2821 2822 2823 2824
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2825
    /**
2826
     * 基础表单项
2827 2828 2829 2830
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2831
    public clickAuto393(item: any = {}) {
2832 2833 2834 2835
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2836 2837
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf2editview', parameterName: 'sf2editview' },
2838 2839 2840 2841 2842 2843 2844 2845 2846 2847
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870
    /**
     * 实体工作流动态导航表格视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc85(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
            { pathName: 'wfdynaexpgridview', parameterName: 'wfdynaexpgridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889
    /**
     * 表格列更新
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc54(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr7gridview', parameterName: 'usr7gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
2890 2891 2892 2893
            this.$router.push(path);
        })
    }
    
2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916
    /**
     * 数据视图主状态
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc81(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr6dataview', parameterName: 'usr6dataview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935
    /**
     * 列表主状态
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc80(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr3listview', parameterName: 'usr3listview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
2936 2937 2938 2939
            this.$router.push(path);
        })
    }
    
2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964
    /**
     * 实体选项操作视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc47(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
        ];
        const view = { 
            viewname: 'ibizbookoption-view', 
            title: (this.$t('entities.ibizbook.views.optionview.title') as any),
            height: 800, 
            width: 1000, 
        };
        const appmodal = this.$appmodal.openModal(view, JSON.parse(JSON.stringify(this.context)),viewparam);
        appmodal.subscribe((result: any) => {
            console.log(result);
        });
    }
    
2965
    /**
2966
     * 右键操作
2967 2968 2969 2970
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2971
    public clickAuto235(item: any = {}) {
2972 2973 2974 2975
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2976 2977
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f4treeexpview', parameterName: 'f4treeexpview' },
2978 2979
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
2980 2981 2982 2983 2984 2985 2986 2987
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
2988
    /**
2989
     * 功能名称
2990 2991 2992 2993
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
2994
    public clickAppFunc21(item: any = {}) {
2995 2996 2997 2998
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
2999 3000
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr2calendarview', parameterName: 'usr2calendarview' },
3001 3002 3003 3004 3005 3006 3007 3008 3009 3010
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033
    /**
     * 编辑器
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc69(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizappeditors', parameterName: 'ibizappeditor' },
            { pathName: 'gridview', parameterName: 'gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3034
    /**
3035
     * 功能名称
3036 3037 3038 3039
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3040
    public clickAppFunc60(item: any = {}) {
3041 3042 3043 3044
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3045 3046
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'usr2calendarexpview', parameterName: 'usr2calendarexpview' },
3047 3048 3049 3050 3051 3052 3053 3054 3055 3056
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3057
    /**
3058
     * 编辑器扩展
3059 3060 3061 3062
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3063
    public clickAppFunc(item: any = {}) {
3064 3065 3066 3067
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3068 3069
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf6editview', parameterName: 'sf6editview' },
3070 3071 3072 3073 3074 3075 3076 3077 3078 3079
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3080
    /**
3081
     * 图书表格视图-新建默认值
3082 3083 3084 3085
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3086
    public clickAppFunc4(item: any = {}) {
3087 3088 3089 3090
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3091 3092
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'newdefaultvaluegridview', parameterName: 'newdefaultvaluegridview' },
3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3104
     * 分页关系编辑
3105 3106 3107 3108
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3109
    public clickAuto337(item: any = {}) {
3110 3111 3112 3113
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3114 3115
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'seditview3', parameterName: 'seditview3' },
3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3127
     * 图书实体(表单值规则)
3128 3129 3130 3131
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3132
    public clickAppFunc32(item: any = {}) {
3133 3134 3135 3136
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3137
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
3138
            { pathName: 'ruleseditview', parameterName: 'ruleseditview' },
3139
        ];
3140 3141 3142 3143 3144 3145 3146 3147 3148 3149
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3150
     * 图书列表(自动分组)
3151 3152 3153 3154
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3155
    public clickAppFunc12(item: any = {}) {
3156 3157 3158 3159 3160
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
3161
            { pathName: 'autogrouplistview', parameterName: 'autogrouplistview' },
3162
        ];
3163
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3164 3165 3166 3167 3168 3169 3170 3171 3172
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3173
     * 属性类型
3174 3175 3176 3177
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3178
    public clickAuto338(item: any = {}) {
3179 3180 3181 3182
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3183 3184
            { pathName: 'ibizsample0001s', parameterName: 'ibizsample0001' },
            { pathName: 'sf4editview', parameterName: 'sf4editview' },
3185 3186
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3187 3188 3189 3190 3191 3192 3193 3194
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209
    /**
     * 应用视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc67(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizappviews', parameterName: 'ibizappview' },
            { pathName: 'gridview', parameterName: 'gridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3210 3211 3212 3213 3214 3215 3216 3217 3218
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3219
     * 示例实体03表格视图
3220 3221 3222 3223
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3224
    public clickAppFunc28(item: any = {}) {
3225 3226 3227 3228
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3229 3230
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'gridview', parameterName: 'gridview' },
3231 3232
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3233 3234 3235 3236 3237 3238 3239 3240
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3241
    /**
3242
     * 表格内置功能
3243 3244 3245 3246
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3247
    public clickAppFunc2(item: any = {}) {
3248 3249 3250 3251
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3252 3253
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'internalfuncgridview', parameterName: 'internalfuncgridview' },
3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3265
     * 功能名称
3266 3267 3268 3269
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3270
    public clickAppFunc10(item: any = {}) {
3271 3272 3273 3274
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3275 3276
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr5gridview', parameterName: 'usr5gridview' },
3277 3278 3279 3280 3281 3282 3283 3284 3285 3286
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3287
    /**
3288
     * 订单类型添加
3289 3290 3291 3292
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3293
    public clickAppFunc34(item: any = {}) {
3294 3295 3296 3297
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3298 3299
            { pathName: 'ibizordertypes', parameterName: 'ibizordertype' },
            { pathName: 'usr2gridview', parameterName: 'usr2gridview' },
3300 3301 3302 3303 3304 3305 3306 3307 3308 3309
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332
    /**
     * 实体数据看板视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc45(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'dashboardview', parameterName: 'dashboardview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3333
    /**
3334
     * 图书列表(嵌入面板)
3335 3336 3337 3338
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3339
    public clickAppFunc17(item: any = {}) {
3340 3341 3342 3343 3344
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
3345
            { pathName: 'haspanellistview', parameterName: 'haspanellistview' },
3346 3347 3348 3349 3350 3351 3352 3353 3354
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
3355 3356 3357 3358 3359 3360 3361 3362 3363
    /**
     * 执行JavaScript
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc78(item: any = {}){
        alert("应用功能-执行JavaScript展示");
    }
3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374
    /**
     * 打开Vue官网
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc75(item: any = {}){
       const localdata: any = this.$store.getters.getLocalData();
       const url = `https://cn.vuejs.org/index.html`;
       window.open(url, '_blank');
    }
3375
    
3376
    /**
3377
     * 表单项超链接
3378 3379 3380 3381
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3382
    public clickAuto111(item: any = {}) {
3383 3384 3385 3386 3387
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
3388
            { pathName: 'sf4editview', parameterName: 'sf4editview' },
3389 3390
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3391 3392 3393 3394 3395 3396 3397 3398
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421
    /**
     * 订单实体列表导航
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAppFunc56(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'listexpview', parameterName: 'listexpview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444
    /**
     * 常规表格视图
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
    public clickAuto299(item: any = {}) {
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
            { pathName: 'ibizorders', parameterName: 'ibizorder' },
            { pathName: 'sgridview', parameterName: 'sgridview' },
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
3445
    /**
3446
     * 功能名称
3447 3448 3449 3450
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3451
    public clickAppFunc9(item: any = {}) {
3452 3453 3454 3455
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3456 3457
            { pathName: 'ibizbooks', parameterName: 'ibizbook' },
            { pathName: 'usr4gridview', parameterName: 'usr4gridview' },
3458 3459
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
3460 3461 3462 3463 3464 3465 3466 3467 3468
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }
    
    /**
3469
     * 动态节点代码表
3470 3471 3472 3473
     *
     * @param {*} [item={}]
     * @memberof MainMenu
     */
3474
    public clickAuto66(item: any = {}) {
3475 3476 3477 3478
        const viewparam: any = {};
        Object.assign(viewparam, {});
        const deResParameters: any[] = [];
        const parameters: any[] = [
3479 3480
            { pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
            { pathName: 'f2treeexpview', parameterName: 'f2treeexpview' },
3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513
        ];
        const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
        if(Object.is(this.$route.fullPath,path)){
            return;
        }
        this.$nextTick(function(){
            this.$router.push(path);
        })
    }

    /**
     * 数据加载
     *
     * @param {*} data
     * @memberof MainMenuBase
     */
    public load(data: any) {
        this.handleMenusResource(this.menuMode.getAppMenuItems());
    }

    /**
     * 通过统一资源标识计算菜单
     *
     * @param {*} data
     * @memberof MainMenuBase
     */
    public handleMenusResource(inputMenus:Array<any>){
        if(this.$store.getters['authresource/getEnablePermissionValid']){
            this.computedEffectiveMenus(inputMenus);
            this.computeParentMenus(inputMenus);
        }
        this.dataProcess(inputMenus);
        this.menus = inputMenus;
3514
        this.doMenuSelect();
3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599
    }

    /**
     * 计算有效菜单项
     *
     * @param {*} inputMenus
     * @memberof MainMenuBase
     */
    public computedEffectiveMenus(inputMenus:Array<any>){
        inputMenus.forEach((_item:any) =>{
            if(!this.authService.getMenusPermission(_item)){
                _item.hidden = true;
                if (_item.items && _item.items.length > 0) {
                    this.computedEffectiveMenus(_item.items);
                }
            }
        })
    }

    /**
     * 计算父项菜单项是否隐藏
     *
     * @param {*} inputMenus
     * @memberof MainMenuBase
     */
    public computeParentMenus(inputMenus:Array<any>){
        if(inputMenus && inputMenus.length >0){
            inputMenus.forEach((item:any) =>{
                if(item.hidden && item.items && item.items.length >0){
                    item.items.map((singleItem:any) =>{
                        if(!singleItem.hidden){
                            item.hidden = false;
                        }else{
                            if(singleItem.items && singleItem.items.length >0){
                                singleItem.items.map((grandsonItem:any) =>{
                                    if(!grandsonItem.hidden){
                                        item.hidden = false;
                                    }
                                })
                            }
                        }
                        if(item.items && item.items.length >0){
                            this.computeParentMenus(item.items);
                        }
                    })
                }
            })
        }
    }

    /**
     * 数据处理
     *
     * @public
     * @param {any[]} items
     * @memberof MainMenuBase
     */
    public dataProcess(items: any[]): void {
        items.forEach((_item: any) => {
            if (_item.expanded) {
                this.defaultOpeneds.push(_item.name);
            }
            if (_item.items && _item.items.length > 0) {
                this.dataProcess(_item.items)
            }
        });
    }

    /**
     * 提示框主题样式
     *
     * @readonly
     * @type {string}
     * @memberof MainMenuBase
     */
    get popperClass(): string {
        return 'app-popper-menu ' + this.selectTheme;
    }
    
}
</script>

<style lang='less'>
@import './main-menu-appmenu.less';
</style>